Files
homeassistant-mcp/tsconfig.json
jango-blockchained 4e9ebbbc2c refactor: update TypeScript configuration and test utilities for improved type safety
- Modify tsconfig.json to relax strict type checking for gradual migration
- Update test files to use more flexible type checking and mocking
- Add type-safe mock and test utility functions
- Improve error handling and type inference in test suites
- Export Tool interface and tools list for better testing support
2025-02-05 09:16:21 +01:00

60 lines
1.2 KiB
JSON

{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"lib": [
"esnext",
"dom"
],
"strict": false,
"strictNullChecks": false,
"strictFunctionTypes": false,
"strictPropertyInitialization": false,
"noImplicitAny": false,
"noImplicitThis": false,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"types": [
"bun-types",
"@types/node",
"@types/ws",
"@types/jsonwebtoken",
"@types/sanitize-html",
"@types/jest"
],
"baseUrl": ".",
"paths": {
"@/*": [
"./src/*"
],
"@test/*": [
"__tests__/*"
]
},
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"sourceMap": true,
"declaration": true,
"declarationMap": true,
"allowUnreachableCode": true,
"allowUnusedLabels": true,
"suppressImplicitAnyIndexErrors": true
},
"include": [
"src/**/*",
"__tests__/**/*",
"*.d.ts"
],
"exclude": [
"node_modules",
"dist",
"coverage"
]
}