Closed pylixonly closed 7 months ago
What version of the tool you're using?
As a workaround for now you can use something like export { lib as Lib }
, technically should be around the same. I'll take a look in details later
What version of the tool you're using?
From package.json, "dts-bundle-generator": "^9.3.1",
My usage was something along with:
export const getSomething = () => ({
somethingKey: starImportedModule
})
so that doesn't really work as a workaround in this case
The fix has been published in 9.4.0 version.
Bug report When star-importing another module
import *
, the value gets ignored and won't bundle. The following will error out without--no-check
:Input code
Expected output(?)
Actual output
Additional context This can be work around by "cloning" the imported module with spread operator
{ ...lib }
. Doing this will result the "expected output" shown above.