Replies: 1 comment
-
I think this is an issue with node-fetch, Remix uses that and the URL object comes from Node/the browser. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was reading up on the MDN fetch docs, and they say that URL objects can be used as the first parameter to fetch calls. When I try this in my local TypeScript project, I get an error:
The documentation for fetch I'm referring to is here: https://devdocs.io/dom/fetch#parameters.
Maybe this is more a
node-fetch
feature request, let me know.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions