Files
bentopdf/tsconfig.json
abdullahalam123 661c030ae1 feat(toc): implement table of contents generation feature
- Added a new page for generating a table of contents from PDF bookmarks.
- Introduced a web worker to handle the TOC generation process in the background.
- Updated TypeScript definitions for coherentpdf integration.
- Enhanced the Vite configuration to include necessary headers and exclude specific dependencies.
- Modified tsconfig to include WebWorker library and updated file inclusion paths.
- Added a new script for handling TOC logic and user interactions.
2025-11-08 12:37:10 +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", "WebWorker"],
"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", "public/workers"], // Updated to include all TS files
"exclude": ["node_modules", "dist"]
}