feat(core): update TS target to ES2021 (#18948)

This commit is contained in:
James Henry 2023-08-31 22:52:05 +04:00 committed by GitHub
parent fef332e537
commit 6d686564fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es2015",
"target": "ES2021",
"importHelpers": true,
"module": "commonjs",
"moduleResolution": "node",
@ -9,7 +9,7 @@
"emitDecoratorMetadata": true,
"skipLibCheck": true,
"types": ["node", "jest"],
"lib": ["es2019"],
"lib": ["ES2021"],
"declaration": true,
"resolveJsonModule": true,
"baseUrl": ".",