Closed CrOrc closed 6 months ago
ts.createSourceFile might choke with StackOverflow exception for some weird js files. E.g. lodash_v4.x.x.js in flow-typed So it's better to add try / catch around ts.createSourceFile in parseJs.js
Thank you for reporting! Will be fixed in the next version.
ts.createSourceFile might choke with StackOverflow exception for some weird js files. E.g. lodash_v4.x.x.js in flow-typed So it's better to add try / catch around ts.createSourceFile in parseJs.js