diff --git a/Jakefile.js b/Jakefile.js index 55729eecaad..2ad7ef376c3 100644 --- a/Jakefile.js +++ b/Jakefile.js @@ -251,7 +251,7 @@ function compileFile(outFile, sources, prereqs, prefixes, useBuiltCompiler, opts else { options += " --lib es5"; } - options += " --noUnusedLocals --noUnusedParameters --strictNullChecks"; + options += " --noUnusedLocals --noUnusedParameters --strictNullChecks --strictAny"; var cmd = host + " " + compilerPath + " " + options + " "; cmd = cmd + sources.join(" "); diff --git a/src/tsconfig-base.json b/src/tsconfig-base.json index 92c32e73fcc..98248235b0e 100644 --- a/src/tsconfig-base.json +++ b/src/tsconfig-base.json @@ -3,6 +3,7 @@ "lib": ["es5"], "noEmitOnError": true, "strictNullChecks": true, + "strictAny": true, "noImplicitAny": true, "noImplicitThis": true, "noUnusedLocals": true,