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
The pbts exits successfully, but resulting protoclasses.d.ts is broken - it's content is cutted to 200kb.
In the sources, pbts starts child process jsdoc and puts it's stdout to resulting file. NodeJS will cut stdout because of default buffer capacity is 200 kb.
Will you fix this?
Which is reasonable value in your opinion?
In my case the resulting protoclasses.d.ts has 1.1mb size, it is sad that I cannot remove jsdoc comments in generated typescript definitions.
Cheers, halex2005.
The text was updated successfully, but these errors were encountered:
protobuf.js version: 6.3.0
I have 70 proto-files in my project and I have generated static module with pbjs successfully:
Then I'd like to produce typescript definitions for module:
The
pbts
exits successfully, but resultingprotoclasses.d.ts
is broken - it's content is cutted to 200kb.In the sources,
pbts
starts child processjsdoc
and puts it's stdout to resulting file. NodeJS will cut stdout because of default buffer capacity is 200 kb.I found this answer on stackoverflow useful to workaround this bug.
If I've add maxBuffer option with high value, output will not be cutted:
Will you fix this?
Which is reasonable value in your opinion?
In my case the resulting
protoclasses.d.ts
has 1.1mb size, it is sad that I cannot remove jsdoc comments in generated typescript definitions.Cheers, halex2005.
The text was updated successfully, but these errors were encountered: