Skip to content

Commit

Permalink
use any
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-piotrowicz committed Sep 25, 2024
1 parent 6a18a09 commit 75caef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cloudflare/src/cli/templates/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const NON_BODY_RESPONSES = new Set([101, 204, 205, 304]);

const cloudflareContextALS = new AsyncLocalStorage<CloudflareContext>();

(globalThis as Record<symbol, unknown>)[Symbol.for("__cloudflare-context__")] = new Proxy(
(globalThis as any)[cloudflareContextSymbol] = new Proxy(
{},
{
ownKeys: () => Reflect.ownKeys(cloudflareContextALS.getStore()!),
Expand Down

0 comments on commit 75caef0

Please sign in to comment.