Closed
Description
People want have single big file with generated classes instead of multiple.
Similar issues: #6 #12
Facts:
- ts-morph allows to emit compiled file with declarations
- classes are not hoisted and must be properly sorted to avoid fall into TDZ
- Unable to maintain it (make manual changes, etc.)
What need to do before:
Decouple generation, get rid of dependency ofSourceFile
in different types of handlersCreate helper function to resort classesEmit dts with errors