mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
TS fail on type errors
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user