gui/modules/desktop/tsconfig.json
2023-06-01 23:14:40 +08:00

31 lines
1.2 KiB
JSON

{
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"allowJs": true,
"checkJs": true,
"esModuleInterop": true,
"moduleResolution": "node",
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"types": ["vitest/globals", "@testing-library/jest-dom"],
"paths": {
"$appcss": ["./src/app.css"],
"$libs/*": ["./src/libs/*"],
"@native": ["./src/libs/native-electron.ts"],
"$components/*": ["./src/components/*"],
"@tea/ui/*": ["../ui/src/*"],
// FIXME: Ideally we don't have to do this, but something is wrong with module resolution
"@teaxyz/lib/semver": ["./../../node_modules/@teaxyz/lib/esm/src/utils/semver.d.ts"]
},
"typeRoots": ["./node_modules/@types", "./types"]
},
"include": ["../ui/types/*.d.ts", ".svelte-kit/ambient.d.ts", "./src/**/*", "./types/**/*"]
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
//
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
// from the referenced tsconfig.json - TypeScript does not merge them in
}