chore: configure ts

This commit is contained in:
2026-01-10 04:09:41 -03:00
parent b03c83c089
commit 8abb5f75ac
+4 -9
View File
@@ -2,28 +2,24 @@
// Visit https://aka.ms/tsconfig to read more about this file // Visit https://aka.ms/tsconfig to read more about this file
"compilerOptions": { "compilerOptions": {
// File Layout // File Layout
// "rootDir": "./src", "rootDir": "./src",
// "outDir": "./dist", "outDir": "./dist",
// Environment Settings // Environment Settings
// See also https://aka.ms/tsconfig/module // See also https://aka.ms/tsconfig/module
"module": "nodenext", "module": "nodenext",
"target": "esnext", "target": "es2024",
"types": [], "types": [],
// For nodejs: // For nodejs:
// "lib": ["esnext"], // "lib": ["esnext"],
// "types": ["node"], // "types": ["node"],
// and npm install -D @types/node // and npm install -D @types/node
// Other Outputs // Other Outputs
"sourceMap": true, "sourceMap": true,
"declaration": true, "declaration": true,
"declarationMap": true, "declarationMap": true,
// Stricter Typechecking Options // Stricter Typechecking Options
"noUncheckedIndexedAccess": true, "noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true, "exactOptionalPropertyTypes": true,
// Style Options // Style Options
// "noImplicitReturns": true, // "noImplicitReturns": true,
// "noImplicitOverride": true, // "noImplicitOverride": true,
@@ -31,7 +27,6 @@
// "noUnusedParameters": true, // "noUnusedParameters": true,
// "noFallthroughCasesInSwitch": true, // "noFallthroughCasesInSwitch": true,
// "noPropertyAccessFromIndexSignature": true, // "noPropertyAccessFromIndexSignature": true,
// Recommended Options // Recommended Options
"strict": true, "strict": true,
"jsx": "react-jsx", "jsx": "react-jsx",
@@ -41,4 +36,4 @@
"moduleDetection": "force", "moduleDetection": "force",
"skipLibCheck": true, "skipLibCheck": true,
} }
} }