An open API service indexing awesome lists of open source software.

https://github.com/cherry/workers-node-types-issue-repro


https://github.com/cherry/workers-node-types-issue-repro

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

Reproduction for issue: https://github.com/cloudflare/workerd/issues/1298

Steps to reproduce:

1. Clone and `npm ci`
2. Uncomment line 5 (`import { neon } from '@neondatabase/serverless'`) in `src/index.ts`
3. Watch as the type errors now appear, or run `npx tsc --noEmit` to see the errors

When you don't load `@types/node`, no errors appear. When you do, the errors appear since now `Request`/`Response`/`fetch` global types have been changed.