Open borgoat opened 3 months ago
Im having the same issue here, was using a URL object as first parameter for fetch
, and encounter the same error. Not every time the first parameter is a object, it will be a Request
. For now i updated my code to send the URL.href
string as resource
, but should be fixed
We are using
fetch
passing a URL object asresource
parameter - and a secondoptions
argument containing headers. The first parameter may be any object with a stringifier.^1However, currently it implies here^2 that any
object
passed as first argument tofetch
must be aRequest
.