Files
bentopdf/tsconfig.json
2025-10-17 11:37:32 +05:30

67 lines
1.7 KiB
JSON

// {
// "compilerOptions": {
// "target": "ES2022",
// "useDefineForClassFields": true,
// "module": "ESNext",
// "lib": ["ES2022", "DOM", "DOM.Iterable"],
// "types": ["vite/client"],
// "skipLibCheck": true,
// /* Bundler mode */
// "moduleResolution": "bundler",
// "allowImportingTsExtensions": true,
// "verbatimModuleSyntax": true,
// "moduleDetection": "force",
// "noEmit": true,
// /* Linting */
// "strict": true,
// "noUnusedLocals": true,
// "noUnusedParameters": true,
// "erasableSyntaxOnly": true,
// "noFallthroughCasesInSwitch": true,
// "noUncheckedSideEffectImports": true
// },
// "include": ["src"]
// }
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"types": ["vite/client", "vitest/globals"], // Added vitest/globals
/* Easier module handling for Vite */
"moduleResolution": "bundler",
"allowJs": true,
"checkJs": false,
"skipLibCheck": true,
"noEmit": true,
"allowImportingTsExtensions": true,
/* Disable strict checks for now */
"strict": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noFallthroughCasesInSwitch": false,
"noUncheckedSideEffectImports": false,
/* Fix for ArrayBuffer type issues */
"noImplicitAny": false,
/* Quality-of-life options */
"isolatedModules": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
/* Path aliases (optional but helpful) */
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["src", "src/**/*.ts"], // Updated to include all TS files
"exclude": ["node_modules", "dist"]
}