15 lines
265 B
TypeScript
15 lines
265 B
TypeScript
declare global {
|
|
interface Context {
|
|
url: URL;
|
|
state: Record<string, unknown>;
|
|
params: Record<string, string | undefined>;
|
|
headers?: Headers,
|
|
}
|
|
|
|
interface BlockItem {
|
|
name: string;
|
|
resourceLocation: string;
|
|
images: string[];
|
|
}
|
|
}
|