Re-exporting class on commonjs - JS code + declaration emit leads to tsc crash #41182
Labels
Bug
A bug in TypeScript
Crash
For flagging bugs which are compiler or service crashes or unclean exits, rather than bad output
Domain: Declaration Emit
The issue relates to the emission of d.ts files
Domain: JSDoc
Relates to JSDoc parsing and type generation
Fix Available
A PR has been opened for this issue
Milestone
TypeScript Version: 4.1.0-dev.20201021
Search Terms:
Unhandled alias declaration kind in symbol serializer
Code
https://gist.github.com/Bnaya/ccb802d892508f3f4ebd81e3350eea05
run
yarn tsc4p1
Expected behavior:
Should compile and emit types
Actual behavior:
tsc crash with:
Related Issues:
#37832
The text was updated successfully, but these errors were encountered: