From 96353fef0f954cedaac0d9045c2d5b2a580c871c Mon Sep 17 00:00:00 2001 From: F Date: Tue, 26 Oct 2021 16:53:01 +1100 Subject: [PATCH] Use es 2020 for bigint --- tsconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"] },