Skip to content

URL typing is missed in ServiceWorkerGlobalScope #14878

Description

@vincentbel

The URL typing is not in ServiceWorkerGlobalScope in lib/lib.webworker.d.ts, but it is available in Web Workers(from mdn):

Note: This feature is available in Web Workers.


TypeScript Version: 2.2.1

Expected behavior:

Can access URL in ServiceWorkerGlobalScope.

Actual behavior:

Access URL in ServiceWorkerGlobalScope with error.

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issueHelp WantedYou can do this

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions