26 lines
526 B
TypeScript
26 lines
526 B
TypeScript
// See https://kit.svelte.dev/docs/types#app
|
|
// for information about these interfaces
|
|
declare global {
|
|
namespace App {
|
|
interface Error {
|
|
code: string;
|
|
id: string;
|
|
message: string;
|
|
}
|
|
// interface Locals {}
|
|
interface PageData {}
|
|
interface PageState {}
|
|
interface Platform {
|
|
env: {
|
|
COUNTER: DurableObjectNamespace;
|
|
};
|
|
context: {
|
|
waitUntil(promise: Promise<any>): void;
|
|
};
|
|
caches: CacheStorage & { default: Cache };
|
|
}
|
|
}
|
|
}
|
|
|
|
export {};
|