Skip to content

Commit

Permalink
fix: cloudflare env vars boilerpate
Browse files Browse the repository at this point in the history
  • Loading branch information
xynydev committed Apr 17, 2024
1 parent 005e097 commit c2de580
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/app.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
}
}
}

Expand Down

0 comments on commit c2de580

Please sign in to comment.