mirror of
https://github.com/larchanka/manbot.git
synced 2026-05-13 21:42:08 +00:00
- Add DOM types to tsconfig.json lib array to fix HTMLElement, document, and window type errors - Fix cron-manager.test.ts: remove unused imports, use type assertion for protected handleEnvelope access - Add close() method to CronManager to properly clean up cron jobs and database - Fix browser-config.ts return types by removing unnecessary length checks - Remove unused Page import from browser-service.ts - Prefix unused parameters with underscore in tool-host.ts and html-to-markdown.ts All TypeScript compilation errors resolved. Project builds successfully. Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
662 B
JSON
26 lines
662 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "NodeNext",
|
|
"moduleResolution": "NodeNext",
|
|
"lib": ["ES2022", "DOM"],
|
|
"outDir": "dist",
|
|
"rootDir": "src",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"exactOptionalPropertyTypes": true
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|