URL
typing is missed in ServiceWorkerGlobalScope
#14878
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Fixed
A PR has been merged for this issue
Help Wanted
You can do this
Milestone
The
URL
typing is not in ServiceWorkerGlobalScope inlib/lib.webworker.d.ts
, but it is available in Web Workers(from mdn):TypeScript Version: 2.2.1
Expected behavior:
Can access
URL
in ServiceWorkerGlobalScope.Actual behavior:
Access
URL
in ServiceWorkerGlobalScope with error.The text was updated successfully, but these errors were encountered: