diff --git a/tsconfig.json b/tsconfig.json index f28bd5e2cd..5206e48d13 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "incremental": true, - "target": "es2017", + "target": "es2020", "outDir": "build/main", "rootDir": "src", "moduleResolution": "node", @@ -41,7 +41,7 @@ // "experimentalDecorators": true /* Enables experimental support for ES7 decorators. */, // "emitDecoratorMetadata": true /* Enables experimental support for emitting type metadata for decorators. */, - "lib": ["es2017", "dom"], + "lib": ["es2020", "dom"], "types": ["node", "mocha"], "typeRoots": ["node_modules/@types", "src/types"] },