Reproduction link or steps
https://github.com/btea/rolldown-dts-issue
Describe the bug
Referring to the packaged code shown in the reproduction link, the exported type in the generated .d.ts file should also be the default export.
System Info
System:
OS: Windows 10 10.0.19045
CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
Memory: 3.55 GB / 15.86 GB
Binaries:
Node: 22.21.1 - C:\Program Files\nodejs\node.EXE
npm: 10.9.4 - C:\Program Files\nodejs\npm.CMD
pnpm: 10.31.0 - C:\Users\admin\AppData\Roaming\npm\pnpm.CMD
Browsers:
Chrome: 146.0.7680.71
Edge: Chromium (142.0.3595.69)
Firefox: 148.0 - C:\Program Files\Mozilla Firefox\firefox.exe
Internet Explorer: 11.0.19041.5794
Validations
Contributions
Compensating engineering work will speed up resolution and support the project
Reproduction link or steps
https://github.com/btea/rolldown-dts-issue
Describe the bug
Referring to the packaged code shown in the reproduction link, the exported type in the generated .d.ts file should also be the default export.
System Info
System: OS: Windows 10 10.0.19045 CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz Memory: 3.55 GB / 15.86 GB Binaries: Node: 22.21.1 - C:\Program Files\nodejs\node.EXE npm: 10.9.4 - C:\Program Files\nodejs\npm.CMD pnpm: 10.31.0 - C:\Users\admin\AppData\Roaming\npm\pnpm.CMD Browsers: Chrome: 146.0.7680.71 Edge: Chromium (142.0.3595.69) Firefox: 148.0 - C:\Program Files\Mozilla Firefox\firefox.exe Internet Explorer: 11.0.19041.5794Validations
Contributions
Compensating engineering work will speed up resolution and support the project