Add in Cloudflare Adapter

Preparations for deployment
This commit is contained in:
2024-04-20 19:23:32 +10:00
parent fa00fa33e5
commit 6a4158b1ec
4 changed files with 17 additions and 3 deletions
+9 -1
View File
@@ -6,7 +6,15 @@ declare global {
// interface Locals {}
// interface PageData {}
// interface PageState {}
// interface Platform {}
interface Platform {
env: {
COUNTER: DurableObjectNamespace;
};
context: {
waitUntil(promise: Promise<any>): void;
};
caches: CacheStorage & { default: Cache };
}
}
}