Skip to content
This repository was archived by the owner on Sep 24, 2020. It is now read-only.

Commit 7d25753

Browse files
committed
opnionated ts config
1 parent e30b25d commit 7d25753

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

template/tsconfig.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,20 @@
44
"dom",
55
"es5",
66
"es2015",
7-
"es2015.promise"
7+
"es2016",
8+
"es2017",
9+
"es6",
10+
"esnext"
11+
],
12+
"exclude": [
13+
"typings/index.d.ts",
14+
"typings/index",
15+
"node_modules"
816
],
917
"module": "esnext",
1018
"moduleResolution": "node",
11-
"target": "es5",
19+
"declaration": true,
20+
"target": "es2015",
1221
"sourceMap": true,
1322
"emitDecoratorMetadata": true,
1423
"experimentalDecorators": true,

0 commit comments

Comments
 (0)