tsconfig.json
{
"ts-node": {
"require": ["tsconfig-paths/register"]
},
"compilerOptions": {
"useUnknownInCatchVariables": false,
"allowJs": true,
"noEmit": true,
"module": "ES2022",
"target": "es2022",
"jsx": "react",
"moduleResolution": "node",
"isolatedModules": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"resolveJsonModule": true,
"strict": true,
"baseUrl": ".",
"paths": {
// must match babel.config.json
"api/*": ["./app/api/*"],
"app/*": ["./app/react/*"],
"shared/*": ["./app/shared/*"],
"UI": ["./app/react/UI"],
"UI/*": ["./app/react/UI/*"],
"V2/*": ["./app/react/V2/*"]
},
//TODO: solve conflict between @types from react dependencies
"skipLibCheck": true
},
"include": ["app", "external_modules", "database", "e2e", "scripts/scripts.v2/*"],
"exclude": ["fixtures", "dist", "prod", "**/*.cy.tsx"]
}