Files
actual/packages/desktop-client/tsconfig.json
Matiss Janis Aboltins fdf5c8d0a9 [AI] Move window typings import to globals.ts (#7142)
* [AI] Remove parent path import of window.ts from desktop-client tsconfig

Replace the `../../packages/loot-core/typings/window.ts` include in
desktop-client's tsconfig.json with a proper package import. This adds
a `./typings/*` export to loot-core's package.json and creates a
globals.ts file in desktop-client that imports the window types via
the package name.

https://claude.ai/code/session_01GrgAzjWd3XvqwBTfXLerxc

* [autofix.ci] apply automated fixes

* Add release notes for PR #7142

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-06 23:00:50 +00:00

33 lines
776 B
JSON

{
"extends": "../../tsconfig.json",
"compilerOptions": {
"composite": true,
"noEmit": false,
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": true,
"outDir": "build/ts",
"rootDir": "src",
"tsBuildInfoFile": "build/ts/.tsbuildinfo",
"paths": {
// TODO: move to subpath imports
"@desktop-client/*": ["./src/*"]
},
"plugins": [{ "name": "typescript-strict-plugin", "paths": ["."] }]
},
"references": [
{ "path": "../loot-core" },
{ "path": "../component-library" }
],
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.js"],
"exclude": [
"node_modules",
"build",
"**/service-worker/**",
"e2e",
"**/*.test.ts",
"**/*.test.tsx",
"**/setupTests.ts"
]
}