Skip to content

Typescript export errors #142

@SoTrxII

Description

@SoTrxII

Hi there,
I've got some errors trying to build a project after including node-speaker as a dependency.
image

These can be resolved by using "export" on both the Speaker class and namespace, and by removing the exports = Speaker at the end of the index.d.ts file.

I've tested with Typescript 3.6.5 and 3.7.5 so far, on two separate projects.

As I'm not yet 100% sure this has nothing to do with my current TS config, I've not uploaded any PR yet.

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