Skip to content

URL typing is missed in ServiceWorkerGlobalScope #14878

Closed

Description

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.

Activity

  1. added this to the milestone on Mar 27, 2017
  2. mhegazy commented on Mar 27, 2017

    @mhegazy
    Contributor

    PRs welcomed. You can find more information about contributing lib.d.ts fixes at https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md#contributing-libdts-fixes.

  3. modified the milestones: TypeScript 2.3, on Mar 29, 2017
  4. added
    FixedA PR has been merged for this issue
    and removed
    FixedA PR has been merged for this issue
    Fixed in TSJS repoFix merged in https://github.com/Microsoft/TSJS-lib-generator, but not ported yet
    on Aug 24, 2017
  5. locked and limited conversation to collaborators on Jun 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions