diff --git a/babel.config.js b/babel.config.js index 8e4384cd0d..81afbda8fb 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,8 +1,5 @@ module.exports = { sourceMaps: true, - assumptions: { - setPublicClassFields: true, - }, presets: [ [ "@babel/preset-env", diff --git a/tsconfig.json b/tsconfig.json index ddceda407c..a3d3283d81 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "useDefineForClassFields": true, "experimentalDecorators": false, "emitDecoratorMetadata": false, "resolveJsonModule": true,