fix: prevent strictNullChecks support until #15432 is fixed (#15434)

This commit is contained in:
Igor Minar 2017-03-23 14:54:19 -07:00 committed by Victor Berchet
parent 0dda01e37c
commit b800a0c824
5 changed files with 14 additions and 4 deletions

View File

@ -7,7 +7,8 @@
"compilerOptions": {
"module": "es2015",
"moduleResolution": "node",
"strictNullChecks": true,
// TODO(i): strictNullChecks should turned on but are temporarily disabled due to #15432
"strictNullChecks": false,
"target": "es6",
"noImplicitAny": false,
"sourceMap": false,

View File

@ -9,7 +9,8 @@
"target": "es5",
"lib": ["es5", "dom", "es2015.collection", "es2015.iterable", "es2015.promise"],
"types": [],
"strictNullChecks": true
// TODO(i): strictNullChecks should turned on but are temporarily disabled due to #15432
"strictNullChecks": false
},
"files": [
"include-all.ts",

View File

@ -15,7 +15,8 @@
"es2015.promise"
],
"types": [],
"strictNullChecks": true
// TODO(i): strictNullChecks should turned on but are temporarily disabled due to #15432
"strictNullChecks": false
},
"files": [
"include-all.ts",

View File

@ -14,3 +14,9 @@
export * from './src/core';
// This file only reexports content of the `src` folder. Keep it that way.
// This is a hack to prevent people from turning on strictNullChecks. See #15432
export declare interface ɵStrictNullChecksNotSupported {
dontUseStrictNullChecksWithAngularYetSeeIssue15432: string|null;
[key: string]: string;
}

View File

@ -7,7 +7,8 @@
"compilerOptions": {
"module": "es2015",
"moduleResolution": "node",
"strictNullChecks": true,
// TODO(i): strictNullChecks should turned on but are temporarily disabled due to #15432
"strictNullChecks": false,
"target": "es6",
"noImplicitAny": false,
"sourceMap": false,