Re-exporting types from another package are not properly marked as type-only export in declaration file. · Issue #422 · unjs/unbuild · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment
Both unbuild@latest (2) and unbuild@rc (3rc7)
NodeJS 20
Reproduction
https://github.com/NamesMT/sencrypt
Describe the bug
I am trying to re-export the class
SHash
as a type-only export:But the
index.d.mts
declaration result is:Which is not correct and in the IDE of the end-user it seemed like they could import and use SHash as a class, but it will error at runtime.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: