diff --git a/src/app.d.ts b/src/app.d.ts index c7c0ed1..7211502 100644 --- a/src/app.d.ts +++ b/src/app.d.ts @@ -6,7 +6,15 @@ declare global { // interface Locals {} // interface PageData {} // interface PageState {} - // interface Platform {} + interface Platform { + env: { + COUNTER: DurableObjectNamespace; + }; + context: { + waitUntil(promise: Promise): void; + }; + caches: CacheStorage & { default: Cache }; + } } }