Add --types to pass an empty array to types to disable @types in Jakefile
This commit is contained in:
parent
ffbdbf0768
commit
4628e1a809
|
@ -282,7 +282,7 @@ var builtLocalCompiler = path.join(builtLocalDirectory, compilerFilename);
|
|||
function compileFile(outFile, sources, prereqs, prefixes, useBuiltCompiler, opts, callback) {
|
||||
file(outFile, prereqs, function() {
|
||||
var compilerPath = useBuiltCompiler ? builtLocalCompiler : LKGCompiler;
|
||||
var options = "--noImplicitAny --noEmitOnError --pretty";
|
||||
var options = "--noImplicitAny --noEmitOnError --types --pretty";
|
||||
opts = opts || {};
|
||||
// Keep comments when specifically requested
|
||||
// or when in debug mode.
|
||||
|
|
Loading…
Reference in a new issue