Skip to content

Commit c91e897

Browse files
authored
Fix typo: should use a local path: "./worker-configuration.d.ts" (#24096)
1 parent 73de2b4 commit c91e897

File tree

1 file changed

+2
-2
lines changed
  • src/content/docs/workers/languages/typescript

1 file changed

+2
-2
lines changed

src/content/docs/workers/languages/typescript/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ You can now remove any imports from `@cloudflare/workers-types` in your Worker c
8989
```json
9090
{
9191
"compilerOptions": {
92-
"types": ["worker-configuration.d.ts"]
92+
"types": ["./worker-configuration.d.ts"]
9393
}
9494
}
9595
```
@@ -107,7 +107,7 @@ Then add this to your `tsconfig.json`.
107107
```json
108108
{
109109
"compilerOptions": {
110-
"types": ["worker-configuration.d.ts", "node"]
110+
"types": ["./worker-configuration.d.ts", "node"]
111111
}
112112
}
113113
```

0 commit comments

Comments
 (0)