diff --git a/src/test.ts b/src/test.ts index 4ec47074c..a61b9bf95 100644 --- a/src/test.ts +++ b/src/test.ts @@ -26,7 +26,7 @@ function compareToBaselines() { function compileGeneratedFile(file: string) { try { - child_process.execSync(`node ${tscPath} --strict --lib es5 --skipLibCheck --noEmit ${path.join(outputFolder, file)}`); + child_process.execSync(`node ${tscPath} --strict --lib es5 --types --noEmit ${path.join(outputFolder, file)}`); } catch (e) { console.error(`Test failed: could not compile '${file}':`); console.error(e.stdout.toString());