feat: add support of cloudflare workers (#596)

This commit is contained in:
Ayoub
2024-03-31 14:37:06 +00:00
committed by GitHub
parent d589365ea2
commit 2029aec90d
8 changed files with 142 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
import type { ICacheConstructor } from './Cache.js';
export type Runtime = 'deno' | 'node' | 'browser' | 'unknown';
export type Runtime = 'deno' | 'node' | 'browser' | 'cf-worker' | 'unknown';
export type FetchFunction = typeof fetch;