From c4b3dd1f50c03e4629ae5af69cca4d9d690d1dc0 Mon Sep 17 00:00:00 2001 From: James Feng <47167674+GhostDragon124@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:51:07 +0800 Subject: [PATCH] fix: add tsconfig.base.json and revert strict mode for CC_Pure compatibility --- tsconfig.base.json | 15 +++++++++++++++ tsconfig.json | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 tsconfig.base.json diff --git a/tsconfig.base.json b/tsconfig.base.json new file mode 100644 index 000000000..db4bc1e3c --- /dev/null +++ b/tsconfig.base.json @@ -0,0 +1,15 @@ +{ + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "bundler", + "strict": true, + "skipLibCheck": true, + "noEmit": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "resolveJsonModule": true, + "jsx": "react-jsx", + "types": ["bun", "@types/node"] + } +} diff --git a/tsconfig.json b/tsconfig.json index bcc029849..fd6a79cd0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,7 @@ "module": "ESNext", "moduleResolution": "bundler", "jsx": "react-jsx", - "strict": true, + "strict": false, "skipLibCheck": true, "noEmit": true, "esModuleInterop": true,