Skip to content

Commit 08fc607

Browse files
committed
enable es7 lib and update compiler options
1 parent 73b7384 commit 08fc607

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

tsconfig.json

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,24 @@
22
"compilerOptions": {
33
"outDir": "lib",
44
"target": "es5",
5-
"lib": ["es6", "dom"],
5+
"lib": ["es7", "dom"],
6+
"types": ["reflect-metadata"],
7+
"sourceMap": true,
8+
"inlineSources": true,
69
"module": "commonjs",
710
"moduleResolution": "node",
8-
"declaration": true,
911
"experimentalDecorators": true,
1012
"emitDecoratorMetadata": true,
13+
"removeComments": false,
14+
"strict": false,
1115
"noImplicitAny": true,
12-
"noUnusedParameters": false,
16+
"strictNullChecks": false,
17+
"noImplicitThis": false,
18+
"alwaysStrict": true,
1319
"noUnusedLocals": true,
14-
"removeComments": true,
15-
"sourceMap": false
20+
"noUnusedParameters": false,
21+
"noImplicitReturns": true,
22+
"noFallthroughCasesInSwitch": true
1623
},
1724
"include": [
1825
"./src/**/*.ts"

0 commit comments

Comments
 (0)