From e879bf50ddd30bc2852ab64048447c579b6a9df5 Mon Sep 17 00:00:00 2001 From: Panayot Cankov Date: Tue, 12 Jan 2016 09:56:23 +0200 Subject: [PATCH] TS fail on type errors --- gruntfile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/gruntfile.js b/gruntfile.js index dc3e85f0d..d40cf9bb5 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -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,