bolt.new/load-context.ts

10 lines
208 B
TypeScript
Raw Normal View History

2024-07-10 16:44:39 +00:00
import { type PlatformProxy } from 'wrangler';
type Cloudflare = Omit<PlatformProxy<Env>, 'dispose'>;
declare module '@remix-run/cloudflare' {
interface AppLoadContext {
cloudflare: Cloudflare;
}
}