Worker constructor does not accept URL #28397
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Milestone
TypeScript Version: 3.2.0-dev.201xxxxx
Search Terms: worker new url, worker constructor
Code
Expected behavior: Compiles fine, as it is valid per the spec
Actual behavior:
Playground Link: http://www.typescriptlang.org/play/#src=new%20Worker(new%20URL(%22%22))%3B
Related Issues: #15338, #15246 and was recently updated in #28136 as well
The text was updated successfully, but these errors were encountered: