28 lines
788 B
JSON
28 lines
788 B
JSON
{
|
|
"compilerOptions": {
|
|
"outDir": "./dist/",
|
|
"noImplicitAny": true,
|
|
"module": "esnext",
|
|
"target": "es2021",
|
|
"downlevelIteration": true, // Needed to allow iteration over some objects like Map() while target is es5
|
|
"jsx": "react-jsx",
|
|
"sourceMap": true,
|
|
"allowJs": true,
|
|
"moduleResolution": "node",
|
|
"types": [
|
|
"vitest/globals",
|
|
"@testing-library/jest-dom"
|
|
],
|
|
"exactOptionalPropertyTypes": true,
|
|
"strictNullChecks": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"paths": {
|
|
"*": [
|
|
// Needed so we can resolve `cockpit` & `cockpit/fsinfo`
|
|
// types. We have stubbed those functions out for the
|
|
// as this is the tsconfig file for the service.
|
|
"./src/test/mocks/*"
|
|
]
|
|
}
|
|
}
|
|
}
|