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.
When I build my package which uses
node-speaker
I get this:I don't really get how to fix this issue, have never seen it before.
Any ideas?