podman-desktop/packages/ui/tsconfig.json
Florent Benoit 504c1cb5bc chore: add jest-dom types
assertions like toBeInTheDocument, etc should be declared as types

we can track the problem with newer vitest dependencies
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2024-10-07 13:26:44 +02:00

25 lines
696 B
JSON

{
"extends": "@tsconfig/svelte/tsconfig.json",
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"strict": true,
"resolveJsonModule": true,
"preserveValueImports": false,
"baseUrl": ".",
"paths": {
"/@/*": ["./src/*"]
},
/**
* Typecheck JS in `.svelte` and `.js` files by default.
* Disable checkJs if you'd like to use dynamic types in JS.
* Note that setting allowJs false does not prevent the use
* of JS in `.svelte` files.
*/
"allowJs": true,
"checkJs": true,
"types": ["@testing-library/jest-dom"]
},
"include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.svelte", "../../types/**/*.d.ts"]
}