From fb6f2bbc02d0b3ee37097379c3929d36f98ccc70 Mon Sep 17 00:00:00 2001 From: Misaka Date: Sat, 28 Feb 2026 22:05:38 +0800 Subject: [PATCH] feat: configure TypeScript with strict mode --- tsconfig.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 31bac6e..7391191 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,4 +1,12 @@ { - "files": [], - "references": [{ "path": "./tsconfig.node.json" }, { "path": "./tsconfig.web.json" }] + "compilerOptions": { + "strict": true, + "esModuleInterop": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true, + "resolveJsonModule": true, + "allowSyntheticDefaultImports": true + }, + "include": ["src/**/*"], + "exclude": ["node_modules", "tests"] }