gui/modules/desktop/tsconfig.json
Neil 5363ceeef4
fix types in vscode (#541)
* fix types in vscode

---------

Co-authored-by: neil molina <neil@neils-MacBook-Pro.local>
2023-05-02 10:50:29 +08:00

29 lines
1 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/*"]
},
"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
}