Open egilsster opened 6 months ago
Hm, actually, if it just about imports, it could be different issue and probably can be solved separately. I'll check in couple of days what we can do.
Took a stab at this @timocov https://github.com/timocov/dts-bundle-generator/pull/321
Bug report
The generator seems to remove the
type
import keyword from the source, this can be troublesome for projects that haveverbatimModuleSyntax
enabled:I'd be happy to take a stab at this issue if there isn't anything I can use to get this working. Both the project that's compiling this has the type, and the project using the type has
verbatimModuleSyntax
enabled.Input code
Expected output
Actual output
Additional context
I am using the JS API and here are my options: