From c4f9bf4ae5385ede9718ed09066e2450222d5aef Mon Sep 17 00:00:00 2001 From: koenkk Date: Wed, 27 Dec 2023 13:17:25 +0100 Subject: [PATCH] fix(ignore): Update tsconfig and fix 599b3e96afe9ace3cb0231ff069fc3ff70e43b2e --- .babelrc.js | 4 ---- tsconfig.json | 7 ++++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.babelrc.js b/.babelrc.js index 6b89479192..90ba70708f 100644 --- a/.babelrc.js +++ b/.babelrc.js @@ -3,8 +3,4 @@ module.exports = { '@babel/env', '@babel/typescript', ], - plugins: [ - "@babel/proposal-object-rest-spread", - "@babel/proposal-class-properties" - ] }; \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index a818cb7c14..03e759c78d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,9 +1,10 @@ { "compilerOptions": { - "module": "commonjs", + "allowSyntheticDefaultImports": true, + "module": "ES2022", "esModuleInterop": true, - "target": "es2018", - "lib": ["es2018"], + "target": "ES2022", + "lib": ["ES2022"], "noImplicitAny": true, "noImplicitThis": true, "moduleResolution": "node",