Reproduction for issue: cloudflare/workerd#1298
Steps to reproduce:
- Clone and
npm ci
- Uncomment line 5 (
import { neon } from '@neondatabase/serverless'
) insrc/index.ts
- 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.