feat: Event context type for Cloudflare environment
This commit is contained in:
9
wp-content/themes/moonshine/server/types/h3.d.ts
vendored
Normal file
9
wp-content/themes/moonshine/server/types/h3.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import "h3";
|
||||
|
||||
declare module "h3" {
|
||||
interface H3EventContext {
|
||||
cloudflare: {
|
||||
env: Cloudflare.Env;
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user