mirror of
https://github.com/zadam/trilium.git
synced 2026-04-03 10:39:00 +02:00
- 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>
27 lines
930 B
JSON
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,
|
|
}
|
|
}
|