dts-bundle
dts-bundle copied to clipboard
Export TypeScript .d.ts files as an external module definition
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....
Closes: #75 . Also, this PR changes the way to pass the `enconding` option inside `writeFileSync` function, to match the typing.
I'm trying to use the "externals" flag to get the d.ts bundle to include typings for external libraries that exist in my node_modules folder, however for the life of my...
Currently there hasn't been a commit since June 2017. That's two and a half years. I was looking around for more actively maintained alternatives and found this one: https://github.com/timocov/dts-bundle-generator I'd...
I have separate files that define private interfaces of the same name. By "private" I mean not exported. dts-bundle puts them all in one file, where all the `IProps` interfaces...
My library has a name with slash (`@preply/navigation`), and it fails to process when I want to bundle all `.d.ts` files (works well for single declaration file): ``` Error: ENOENT:...
this is my code: ```js import { on } from "./event"; export function event(){} event.on = on; event.config=function(){} ``` the bundle result is: ```js // import error export function event()...
When I bundle outputAsModuleFolder : true, every top level const, var, or let will need a declare. But the `declare` modifier is removed inside the BundleResult.
My typescript project sometimes outputs lines like these in the generated .d.ts files: ```js declare const _default: import("../plugin-system").PluginDef; export default _default; ``` It's essentially an inline ES6 import statement and...