TypeStrong / dts-bundle

Export TypeScript .d.ts files as an external module definition
MIT License
308 stars 57 forks source link

Optionally disable exclusion of private members #87

Open longlostbro opened 2 years ago

longlostbro commented 2 years ago

When extending a class that has private members in a mono repo environment vscode will give typescript errors saying the instance of such an object doesn't match the typescript declaration. To fix we need to make sure to include private members in the declaration. This is done by default in typescript but dts-bundle was excluding them without option to include them.