-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
I just tried running the app and got an error:
❯ deno run --allow-read --allow-net --unstable app.ts
Check file:///p/examples/deno-api-starter-oak/app.ts
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/[email protected]/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/[email protected]/path/posix.ts:433:18
Found 2 errors.
I'm on the latest Deno version:
❯ deno --version
deno 1.3.1
v8 8.6.334
typescript 3.9.7
But it seems maybe that the Standard Library has changed?
I just tried the container and it still builds and runs.
Metadata
Metadata
Assignees
Labels
No labels