24 lines
438 B
TypeScript
24 lines
438 B
TypeScript
// See https://svelte.dev/docs/kit/types#app.d.ts
|
|
// for information about these interfaces
|
|
declare global {
|
|
namespace App {
|
|
interface Platform {
|
|
env: Env;
|
|
context: ExecutionContext;
|
|
caches: CacheStorage & { default: Cache };
|
|
cf?: IncomingRequestCfProperties;
|
|
}
|
|
|
|
// interface Error {}
|
|
interface Locals {
|
|
user?: {
|
|
email: string;
|
|
};
|
|
}
|
|
// interface PageData {}
|
|
// interface PageState {}
|
|
}
|
|
}
|
|
|
|
export {};
|