Browse Source

update tsconfig

Aurélien Richez 4 years ago
parent
commit
bde929e964
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tsconfig.json

+ 2 - 2
tsconfig.json

@@ -1,6 +1,7 @@
 {
   "compilerOptions": {
-    "target": "es5",
+    "lib": ["es2020"],
+    "target": "es2020",
     "module": "commonjs",
     "outDir": "./lib",
     "declaration": true,
@@ -8,7 +9,6 @@
     "strict": true,
     "noUnusedLocals": true,
     "esModuleInterop": true,
-    "lib": ["es6"]
   },
   "include": ["./src/**/*", "tests/streams.test.ts"]
 }