You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting the following error on running mithCors examples you added to cors, Is there any way to fix it?
error: TS2345 [ERROR]: Argument of type'string | URL' is not assignable to parameter of type'string'.
Type 'URL' is not assignable to type'string'.
return new URL(url).pathname
~~~
at https://deno.land/std@0.53.0/path/win32.ts:911:18
TS2345 [ERROR]: Argument of type'string | URL' is not assignable to parameter of type'string'.
Type 'URL' is not assignable to type'string'.
return new URL(url).pathname;~~~
at https://deno.land/std@0.53.0/path/posix.ts:433:18
Found 2 errors.
Getting the following error on running mithCors examples you added to cors, Is there any way to fix it?
I'm also tried :
and it wasn't helpful!
Using:
deno 1.2.3
v8 8.6.334
typescript 3.9.2
The text was updated successfully, but these errors were encountered: