mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 05:18:39 +08:00
Merge pull request #1354 from NativeScript/cankov/grunt-ts-fail-miserably-on-type-error
TS fail on type errors
This commit is contained in:
@ -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,
|
||||||
|
Reference in New Issue
Block a user