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
$ npm i typescript@beta
$ ./node_modules/typescript/bin/tsc --allowJs ./node_modules/typescript/lib/typescript.js --outFile test.js
.../node_modules/typescript/lib/tsc.js:32796
throw e;
^
TypeError: Cannot read property 'type' of undefined
at getReturnTypeFromJSDocComment (.../node_modules/typescript/lib/tsc.js:19407:68)
at getSignatureFromDeclaration (.../node_modules/typescript/lib/tsc.js:14802:36)
at checkSpecializedSignatureDeclaration (.../node_modules/typescript/lib/tsc.js:20664:29)
at checkSignatureDeclaration (.../node_modules/typescript/lib/tsc.js:20420:13)
at checkFunctionOrMethodDeclaration (.../node_modules/typescript/lib/tsc.js:21170:13)
at checkFunctionDeclaration (.../node_modules/typescript/lib/tsc.js:21161:17)
at checkSourceElement (.../node_modules/typescript/lib/tsc.js:22800:28)
at Object.forEach (.../node_modules/typescript/lib/tsc.js:98:30)
at checkBlock (.../node_modules/typescript/lib/tsc.js:21207:16)
at checkSourceElement (.../node_modules/typescript/lib/tsc.js:22803:28)
The text was updated successfully, but these errors were encountered:
evmar
changed the title
TypeScript 1.8 beta can't process itself
TypeScript 1.8 beta throws exception with typescript.js as input
Jan 29, 2016
The text was updated successfully, but these errors were encountered: