Merge pull request #1354 from NativeScript/cankov/grunt-ts-fail-miserably-on-type-error

TS fail on type errors
This commit is contained in:
Panayot Cankov
2016-01-12 15:34:08 +02:00

View File

@ -173,6 +173,7 @@ module.exports = function(grunt) {
tsOptions.fast = 'never';
tsOptions.removeComments = !grunt.option('leavecomments') || '';
tsOptions.compiler = "node_modules/typescript/bin/tsc";
tsOptions.failOnTypeErrors = true;
grunt.initConfig({
localCfg : localCfg,