Skip to content

Add an ES6 lib.webworker.d.ts #6282

Closed
Closed
@bwalderman

Description

@bwalderman

I ran into this when I tried to use ES6 features in a web worker script. The lib typings do not yet include an ES6 version of lib.webworker.d.ts. This makes it difficult to target ES6 for a project meant to run in a web worker.

As a workaround, I created lib.webworker.es6.d.ts which is a copy of the original that references lib.core.es6.d.ts instead of lib.core.d.ts. The permanent fix should be to generate this with the rest of the typings in the Jakefile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    @typesRelates to working with .d.ts files (declaration/definition files) from DefinitelyTypedDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issueSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions