website-2/src/app.d.ts

26 lines
526 B
TypeScript
Raw Normal View History

2024-01-21 14:54:48 +10:00
// 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 };
}
}
2024-01-21 14:54:48 +10:00
}
export {};