debian-image-builder-frontend/tsconfig.json
2025-03-28 16:13:14 +01:00

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/*"
]
}
}
}