Skip to content

Commit

Permalink
Trim down cloudflare polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
jculvey committed May 16, 2024
1 parent 3468d3a commit 2eff838
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/runtime/polyfill/cloudflare.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
type GlobalThis = typeof globalThis;
interface GlobalThisPlusEnv extends GlobalThis {
__env__: typeof process.env;
}

(globalThis as GlobalThisPlusEnv).__env__ = {};
(globalThis as any).__env__ = {};

0 comments on commit 2eff838

Please sign in to comment.