Skip to content

Erroneous type definitions: Type Worker is not exported #20

@LinqLover

Description

@LinqLover

When compiling a TypeScript project that refers to this package, I get the following error:

node_modules/web-worker/index.d.ts:3:39 - error TS2304: Cannot find name 'Worker'.

3 declare const _default: ConstructorOf<Worker>
                                        ~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions