-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
built types are missing comments #10
Comments
BTW my issue isn't with comments missing overall its just some exist in the code and for some reason are being stripped out in the final type file where as others are being kept. 🤔 |
Related I'm assuming microsoft/TypeScript#14619 |
You're right, this appears to be a bug. Those comments shouldn't be stripped away since they provide valuable editor hints to developers using this framework. I'm not sure if TypeScript is stripping them or if it's Rollup, but I'll dig into this. |
@sstur did you happen to find anything in regards to this? |
I looked at this last month and came up empty. I have no idea why these comments are being stripped away by |
If you cant find anything might I suggest using |
Here's the types that're being shipped right now with
@nbit/[email protected]
.Notice the lack of comments on most of the types.
For example
allowStaticFrom
has no comment in the shipped types.nbit/packages/core/src/types/http.ts
Lines 27 to 31 in 42b1988
The text was updated successfully, but these errors were encountered: