Open aryzing opened 2 months ago
1.1.27
Linux 6.2.0-36-generic x86_64 x86_64
bun init
const h = new Headers()
h.entries()
No type errors
Property 'entries' does not exist on type 'Headers'.
Seems to work when removing "DOM",
{ "compilerOptions": { // Enable latest features - "lib": ["ESNext", "DOM"], + "lib": ["ESNext"], "target": "ESNext", "module": "ESNext",
It exists, but it looks like there's a TypeScript types issue with this.
What version of Bun is running?
1.1.27
What platform is your computer?
Linux 6.2.0-36-generic x86_64 x86_64
What steps can reproduce the bug?
bun init
.const h = new Headers()
.h.entries()
.What is the expected behavior?
No type errors
What do you see instead?
Property 'entries' does not exist on type 'Headers'.
Additional information
Seems to work when removing "DOM",