TS fail on type errors

This commit is contained in:
Panayot Cankov
2016-01-12 09:56:23 +02:00
parent d459367927
commit e879bf50dd

View File

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