Skip to content

Commit 5b110bc

Browse files
authored
cherry pick es2015+ libs (#1922)
* cherry pick es2015+ libs * remove lib flag from installations
1 parent 082b90d commit 5b110bc

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

config/tsconfig.base.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,24 @@
55
"importHelpers": true,
66
"strictNullChecks": true,
77
"noImplicitAny": true,
8-
"lib": ["es2017", "dom"],
8+
"lib": [
9+
"es5",
10+
"dom",
11+
"es2015.promise",
12+
"es2015.symbol",
13+
"es2015.iterable",
14+
"es2015.collection",
15+
"es2015.symbol.wellknown",
16+
"es2015.core",
17+
"es2017.object",
18+
],
919
"module": "ES2015",
1020
"moduleResolution": "node",
1121
"sourceMap": true,
1222
"target": "es5",
1323
"downlevelIteration": true,
14-
"typeRoots": ["../node_modules/@types"]
24+
"typeRoots": [
25+
"../node_modules/@types"
26+
]
1527
}
16-
}
28+
}

packages/installations/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"extends": "../../config/tsconfig.base.json",
33
"compilerOptions": {
4-
"lib": ["es2017", "dom"],
54
"downlevelIteration": true,
65
"resolveJsonModule": true,
76

0 commit comments

Comments
 (0)