From 18c82b96dbd0fa53a16353b6627695f20f399609 Mon Sep 17 00:00:00 2001 From: Taj Pereira Date: Sat, 1 Jun 2024 10:35:40 +0930 Subject: [PATCH] fix: enable for tests --- tsconfig.json | 1 + tsconfig.test.json | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 32fa6607d..7a26c1bb7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,6 +16,7 @@ "noImplicitThis": false, "noEmit": true, "experimentalDecorators": true, + // See: https://github.com/mobxjs/mobx/pull/3884 "useDefineForClassFields": false, "jsx": "react", "esModuleInterop": true diff --git a/tsconfig.test.json b/tsconfig.test.json index f8e4f8c91..0bfdfaf81 100644 --- a/tsconfig.test.json +++ b/tsconfig.test.json @@ -3,6 +3,8 @@ "compilerOptions": { // "module": "commonjs", "allowJs": true, - "noUnusedLocals": false + "noUnusedLocals": false, + // See: https://github.com/mobxjs/mobx/pull/3884 + "useDefineForClassFields": true } }