Skip to content

Commit

Permalink
Only update ES lib
Browse files Browse the repository at this point in the history
as escomplex-js depends on esprima 1, which doesn't support ES6
  • Loading branch information
ljqx committed Dec 7, 2020
1 parent 002184c commit 215c9bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"compilerOptions": {
"target": "ES6",
"target": "ES5",
"module": "commonjs",
"noImplicitAny": false,
"strict": true
"strict": true,
"lib": ["ES2015"]
},
"files": [
"assert.ts",
Expand Down

0 comments on commit 215c9bd

Please sign in to comment.