Repository navigation
Replies: 2 comments
|
Can you share your |
|
The runtime behavior is right — Deno's own fetch declaration overloads
Quick discrimination test: run Posting your |
|
Can you share your |
|
The runtime behavior is right — Deno's own fetch declaration overloads
Quick discrimination test: run Posting your |
Uh oh!
There was an error while loading. Please reload this page.
Question
When I call
fetch(url, { client })with aclientcreated byDeno.createHttpClient(), VSCode / TypeScript reports a type error even though the runtime supports this option.@types/nodeis not explicitly installed but is present transitively (e.g. via nodemailer). How do I make the editor recognize Deno'sclienttype?Reproduction steps
Deno.createHttpClient()andfetch(url, { client }).@types/nodeinstall).fetchcall.Environment
@types/*present transitively (e.g. nodemailer)All reactions