Files
Trilium/tsconfig.base.json
copilot-swe-agent[bot] 819c9a7506 fix: resolve TypeScript 6 typecheck issues
- Remove deprecated `downlevelIteration` from tsconfig.base.json (not needed for ES2022+ target)
- Add `noUncheckedSideEffectImports: false` to tsconfig.base.json and ckeditor5 package tsconfigs to allow CSS/plugin side-effect imports
- Remove deprecated `baseUrl: "."` from 6 package tsconfig.lib.json files (unused without `paths`)
- Replace `NodeJS.Timeout` with `ReturnType<typeof setTimeout>` in debounce.ts

Agent-Logs-Url: https://github.com/TriliumNext/Trilium/sessions/8e861e56-2be6-4c61-9558-a666abbe3ff0

Co-authored-by: eliandoran <21236836+eliandoran@users.noreply.github.com>
2026-03-31 19:22:16 +00:00

27 lines
930 B
JSON

{
"compilerOptions": {
"composite": true,
"declarationMap": true,
"emitDeclarationOnly": true,
"importHelpers": true,
"isolatedModules": true,
"lib": ["ES2023", "DOM", "DOM.Iterable"],
"module": "nodenext",
"moduleResolution": "nodenext",
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": false, // TODO: Re-enable it at some point.
"noImplicitOverride": false, // TODO: Re-enable it at some point.
"noImplicitReturns": false, // TODO: Re-enable it at some point.
"noUnusedLocals": false, // TODO: Re-enable it at some point.
"skipLibCheck": true,
"strict": true,
"target": "es2022",
"customConditions": ["development"],
"verbatimModuleSyntax": false, // TODO: Re-enable it when migrating back to ESM.
"resolveJsonModule": true,
"esModuleInterop": true,
"noUncheckedSideEffectImports": false,
}
}