summaryrefslogtreecommitdiffhomepage
path: root/packages/function
diff options
context:
space:
mode:
Diffstat (limited to 'packages/function')
-rw-r--r--packages/function/sst-env.d.ts16
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/function/sst-env.d.ts b/packages/function/sst-env.d.ts
index a123afeb9..41727ee9d 100644
--- a/packages/function/sst-env.d.ts
+++ b/packages/function/sst-env.d.ts
@@ -6,20 +6,20 @@
import "sst"
declare module "sst" {
export interface Resource {
- Web: {
- type: "sst.cloudflare.StaticSite"
- url: string
+ "Web": {
+ "type": "sst.cloudflare.StaticSite"
+ "url": string
}
}
}
-// cloudflare
-import * as cloudflare from "@cloudflare/workers-types"
+// cloudflare
+import * as cloudflare from "@cloudflare/workers-types";
declare module "sst" {
export interface Resource {
- Api: cloudflare.Service
- Bucket: cloudflare.R2Bucket
+ "Api": cloudflare.Service
+ "Bucket": cloudflare.R2Bucket
}
}
import "sst"
-export {}
+export {} \ No newline at end of file