We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92874fe commit f0f1055Copy full SHA for f0f1055
.changeset/funny-trees-drop.md
@@ -0,0 +1,5 @@
1
+---
2
+"create-cloudflare": patch
3
4
+
5
+fix: set `compilerOptions.types` to `./worker-configuration.d.ts` instead of `worker-configuration.d.ts` in tsconfig.json
packages/create-cloudflare/src/templates.ts
@@ -572,7 +572,7 @@ export const createContext = async (
572
573
template = {
574
workersTypes: "generated",
575
- typesPath: "worker-configuration.d.ts",
+ typesPath: "./worker-configuration.d.ts",
576
envInterfaceName: "Env",
577
...template,
578
};
0 commit comments