Closed tpluscode closed 7 years ago
I think there's a regression in 0.2.0-beta.1
. Again, when the compilerOptions
is missing, twc
throws.
\npm\node_modules\twc\src\cli.js:75
var _a = tsConfig.compilerOptions, outDir = _a.outDir, declaration = _a.declaration, declarationDir = _a.declarationDir;
^
TypeError: Cannot read property 'outDir' of undefined
This issue will be fixed once #73 is finished (I am currently working on it as it will make it easier to finish #39 and #48).
When the
tsconfig.json
is empty or lackscompilerOptions
section,twc
fails with the following error