website-2/src/app.d.ts
Nick Bland 3c7278bba9
Move to $lib folder as intended...
Also add in image pathing, will update on R2 when due date arrives.
2024-04-25 00:47:33 +10:00

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 {};