From 4588f36fa79f40c361dbe95ce7a157eebef45d8a Mon Sep 17 00:00:00 2001 From: polwex Date: Sat, 28 Jun 2025 01:58:17 +0700 Subject: init --- js/tsconfig.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 js/tsconfig.json (limited to 'js/tsconfig.json') diff --git a/js/tsconfig.json b/js/tsconfig.json new file mode 100644 index 0000000..bfa0fea --- /dev/null +++ b/js/tsconfig.json @@ -0,0 +1,29 @@ +{ + "compilerOptions": { + // Environment setup & latest features + "lib": ["ESNext"], + "target": "ESNext", + "module": "Preserve", + "moduleDetection": "force", + "jsx": "react-jsx", + "allowJs": true, + + // Bundler mode + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "verbatimModuleSyntax": true, + "noEmit": true, + + // Best practices + "strict": true, + "skipLibCheck": true, + "noFallthroughCasesInSwitch": true, + "noUncheckedIndexedAccess": true, + "noImplicitOverride": true, + + // Some stricter flags (disabled by default) + "noUnusedLocals": false, + "noUnusedParameters": false, + "noPropertyAccessFromIndexSignature": false + } +} -- cgit v1.2.3