diff --git a/tsconfig.json b/tsconfig.json index 7df9130..88bd3d3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,17 +1,31 @@ { "compilerOptions": { - "target": "ES2022", - "module": "commonjs", - "outDir": "./dist/", - "strict": true, - "resolveJsonModule": true, + /* Base Options: */ "esModuleInterop": true, "skipLibCheck": true, - "declaration": true, + "target": "ES2024", + "allowJs": true, + "resolveJsonModule": true, + "moduleDetection": "force", + "isolatedModules": true, + "verbatimModuleSyntax": true, + + /* Strictness */ + "strict": true, + "noUncheckedIndexedAccess": true, + "noImplicitOverride": true, + + /* If NOT transpiling with TypeScript: */ + "module": "preserve", + "noEmit": true, + + /* If your code doesn't run in the DOM: */ + "lib": ["es2022"], + + /* Custom paths: */ "baseUrl": ".", "paths": { "#/*": ["./src/*"] - } - }, - "include": ["./src/", "vitest.config.ts"] + }, + } } \ No newline at end of file