Skip to content

Commit

Permalink
Update tsconfig:
Browse files Browse the repository at this point in the history
- Remove version field as it has no effect on the compiler. The version is documented in package.json et.all.
- Set es2017 as target as we use >node8 to run our backends. es2018 is no official target yet.
- Remove lib inclusions which are obsolte now.
- Add node moduleResoultion.
  • Loading branch information
palinka committed Feb 28, 2019
1 parent 46ed474 commit d28ecd6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tsconfig.json
@@ -1,10 +1,9 @@
{
"version": "2.7.1",
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"target": "es2017",
"removeComments": true,
"lib": ["dom","es2017"],
"moduleResolution": "node",
"noLib": false,
"preserveConstEnums": true,
"declaration": true,
Expand Down

0 comments on commit d28ecd6

Please sign in to comment.