Skip to content

Commit b99d442

Browse files
authored
Remove @types/node known issue
1 parent 1dca406 commit b99d442

File tree

1 file changed

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

1 file changed

+0
-18
lines changed

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

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -151,24 +151,6 @@ We recommend you commit your generated types file for use in CI. Alternatively,
151151
152152
</TabItem> </Tabs>
153153
154-
### Known issues
155-
156-
#### Transitive loading of `@types/node` overrides `@cloudflare/workers-types`
157-
158-
Your project's dependencies may load the `@types/node` package on their own. As of `@types/[email protected]` that package now overrides `Request`, `Response` and `fetch` types (possibly others) specified by `@cloudflare/workers-types` causing type errors.
159-
160-
The way to get around this issue currently is to pin the version of `@types/node` to `20.8.3` in your `package.json` like this:
161-
162-
```json
163-
{
164-
"overrides": {
165-
"@types/node": "20.8.3"
166-
}
167-
}
168-
```
169-
170-
For more information, refer to [this GitHub issue](https://github.com/cloudflare/workerd/issues/1298).
171-
172154
### Resources
173155
174156
- [TypeScript template](https://github.com/cloudflare/workers-sdk/tree/main/packages/create-cloudflare/templates/hello-world/ts)

0 commit comments

Comments
 (0)