145 WARNING: unexpected binary expression! ts2c.bundle.js:6142
Uncaught TypeError: Cannot read property 'length' of undefined
at ts2c.bundle.js:6459
at Array.forEach (<anonymous>)
at Object.getType (ts2c.bundle.js:6451)
at TypeHelper.resolveTypes (ts2c.bundle.js:6536)
at TypeHelper.inferTypes (ts2c.bundle.js:6515)
at newConstructor.CProgram (ts2c.bundle.js:2713)
at new newConstructor (ts2c.bundle.js:5608)
at Object.transpile (ts2c.bundle.js:6805)
at transpile ((index):54)
at HTMLButtonElement.onclick ((index):28)
Let's not try to compile big real-world files for now. It is almost impossible to debug them.
Also, minified files are often not a valid TypeScript, and TS2C uses TypeScript AST as a base.
https://andrei-markeev.github.io/ts2c/