Skip to content

URL typing is missed in ServiceWorkerGlobalScope #14878

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vincentbel opened this issue Mar 27, 2017 · 1 comment
Closed

URL typing is missed in ServiceWorkerGlobalScope #14878

vincentbel opened this issue Mar 27, 2017 · 1 comment
Assignees
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

Comments

@vincentbel
Copy link

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.

@mhegazy mhegazy added Help Wanted You can do this Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript labels Mar 27, 2017
@mhegazy mhegazy added this to the Community milestone Mar 27, 2017
@mhegazy
Copy link
Contributor

mhegazy commented Mar 27, 2017

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.

@mhegazy mhegazy modified the milestones: TypeScript 2.3, Community Mar 29, 2017
@mhegazy mhegazy added the Fixed in TSJS repo Fix merged in https://github.com/Microsoft/TSJS-lib-generator, but not ported yet label Mar 29, 2017
@mhegazy mhegazy self-assigned this Mar 29, 2017
@mhegazy mhegazy reopened this Mar 29, 2017
@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Apr 13, 2017
@mhegazy mhegazy added Fixed A PR has been merged for this issue and removed Fixed A PR has been merged for this issue Fixed in TSJS repo Fix merged in https://github.com/Microsoft/TSJS-lib-generator, but not ported yet labels Aug 24, 2017
@microsoft microsoft locked and limited conversation to collaborators Jun 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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
Projects
None yet
Development

No branches or pull requests

2 participants