When I try to complie with electron, it will show:
> tsc -p tsconfig.electron.json
node_modules/electron-audio-loopback/dist/main.d.ts:1:38 - error TS2307: Cannot find module './types.js' or its corresponding type declarations.
1 import { type InitMainOptions } from './types.js';
node_modules/electron-audio-loopback/dist/renderer.d.ts:1:57 - error TS2307: Cannot find module './types.js' or its corresponding type declarations.
1 import { type GetLoopbackAudioMediaStreamOptions } from './types.js';
~~~~~~~~~~~~
Found 2 errors in 2 files.
Errors Files
1 node_modules/electron-audio-loopback/dist/main.d.ts:1
1 node_modules/electron-audio-loopback/dist/renderer.d.ts:1
error Command failed with exit code 2.
Seems like the node_modules/electron-audio-loopback/dist/types.js declaration file is not include into the package