Skip to content

Commit 63151d5

Browse files
delastevehansl
authored andcommitted
chore: update all tsconfig libs to enable es2016 apis (#4458)
1 parent 26def64 commit 63151d5

File tree

9 files changed

+28
-9
lines changed

9 files changed

+28
-9
lines changed

packages/@angular/cli/blueprints/ng2/files/__path__/tsconfig.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@
44
"declaration": false,
55
"emitDecoratorMetadata": true,
66
"experimentalDecorators": true,
7-
"lib": ["es6", "dom"],
7+
"lib": [
8+
"es2015",
9+
"dom"
10+
],
811
"mapRoot": "./",
9-
"module": "es6",
12+
"module": "es2015",
1013
"moduleResolution": "node",
1114
"outDir": "<%= relativeRootPath %>/dist/out-tsc",
1215
"sourceMap": true,

packages/@angular/cli/blueprints/ng2/files/e2e/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"declaration": false,
55
"emitDecoratorMetadata": true,
66
"experimentalDecorators": true,
7+
"lib": [
8+
"es2016"
9+
],
710
"module": "commonjs",
811
"moduleResolution": "node",
912
"outDir": "../dist/out-tsc-e2e",

packages/@angular/cli/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
"sourceMap": true,
1414
"sourceRoot": "/",
1515
"target": "es5",
16-
"lib": ["es6"],
16+
"lib": [
17+
"es2016"
18+
],
1719
"skipLibCheck": true,
1820
"typeRoots": [
1921
"../../../node_modules/@types"

packages/@ngtools/json-schema/tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
"noImplicitAny": true,
1010
"outDir": "../../../dist/@ngtools/json-schema",
1111
"rootDir": ".",
12-
"lib": ["es2015", "es6", "dom"],
12+
"lib": [
13+
"es2016",
14+
"dom"
15+
],
1316
"target": "es5",
1417
"sourceMap": true,
1518
"sourceRoot": "/",

packages/@ngtools/logger/tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
"noImplicitAny": true,
1010
"outDir": "../../../dist/@ngtools/logger",
1111
"rootDir": ".",
12-
"lib": ["es2015", "es6", "dom"],
12+
"lib": [
13+
"es2016",
14+
"dom"
15+
],
1316
"target": "es5",
1417
"sourceMap": true,
1518
"sourceRoot": "/",

packages/@ngtools/webpack/tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
"noImplicitAny": true,
1010
"outDir": "../../../dist/@ngtools/webpack",
1111
"rootDir": ".",
12-
"lib": ["es2015", "es6", "dom"],
12+
"lib": [
13+
"es2016",
14+
"dom"
15+
],
1316
"target": "es5",
1417
"sourceMap": true,
1518
"sourceRoot": "/",

tests/e2e/assets/webpack/test-app-weird/not/so/source/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"emitDecoratorMetadata": true,
1010
"experimentalDecorators": true,
1111
"lib": [
12-
"es2015",
12+
"es2016",
1313
"dom"
1414
],
1515
"outDir": "lib",

tests/e2e/assets/webpack/test-app/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"emitDecoratorMetadata": true,
1111
"experimentalDecorators": true,
1212
"lib": [
13-
"es2015",
13+
"es2016",
1414
"dom"
1515
],
1616
"outDir": "lib",

tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
"sourceRoot": "",
1515
"inlineSourceMap": true,
1616
"target": "es5",
17-
"lib": ["es6"],
17+
"lib": [
18+
"es2016"
19+
],
1820
"baseUrl": "",
1921
"typeRoots": [
2022
"./node_modules/@types"

0 commit comments

Comments
 (0)