From c99a9063d7a1878b77e2470b9ee3ab20ebd4562b Mon Sep 17 00:00:00 2001 From: PalmDevs Date: Thu, 3 Apr 2025 23:01:37 +0700 Subject: [PATCH] fix(scripts): add tsconfig to fix TS errors --- scripts/tsconfig.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 scripts/tsconfig.json diff --git a/scripts/tsconfig.json b/scripts/tsconfig.json new file mode 100644 index 0000000..332cbe4 --- /dev/null +++ b/scripts/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + // Enable latest features + "lib": ["ESNext"], + "target": "ESNext", + "module": "ESNext", + "moduleDetection": "force", + // Bundler mode + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "verbatimModuleSyntax": true, + "noEmit": true, + // Best practices + "strict": true, + "skipLibCheck": true, + "noFallthroughCasesInSwitch": true, + // Some stricter flags (disabled by default) + "noUnusedLocals": false, + "noUnusedParameters": false, + "noPropertyAccessFromIndexSignature": false, + // Other options + "types": [] + } +}