Skip to content

Cannot use this module from TypeScript #159

@OnkelTem

Description

@OnkelTem

When I build my package which uses node-speaker I get this:

node_modules/speaker/index.d.ts:3:1 - error TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.

3 namespace Speaker {
  ~~~~~~~~~

I don't really get how to fix this issue, have never seen it before.

Any ideas?

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