trading-platform-frontend-v2/tsconfig.json
Adrian Flores Cortes d07b888dc9 fix(frontend): resolve all 218 pre-existing TypeScript errors
- Exclude test files from production build (tsconfig.json)
- Fix payment types alignment (BillingInfo, Invoice, CouponInfo, etc.)
- Add backward-compatible aliases to TradingSignal type
- Fix ToolCallCard unknown to ReactNode conversions
- Fix assistant components (MessageList, useChatAssistant timestamp handling)
- Fix SignalExecutionPanel null checks for optional properties
- Fix trading components (QuickOrderPanel, AdvancedOrderEntry, OrderBookPanel)
- Fix NodeJS.Timeout to ReturnType<typeof setTimeout>
- Fix types/index.ts duplicate ApiResponse exports
- Update payment components to use centralized types

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 05:45:12 -06:00

34 lines
952 B
JSON

{
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"strict": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noFallthroughCasesInSwitch": true,
"baseUrl": "./src",
"paths": {
"@/*": ["./*"],
"@components/*": ["./components/*"],
"@modules/*": ["./modules/*"],
"@hooks/*": ["./hooks/*"],
"@stores/*": ["./stores/*"],
"@services/*": ["./services/*"],
"@utils/*": ["./utils/*"],
"@types/*": ["./types/*"]
}
},
"include": ["src"],
"exclude": ["src/__tests__/**", "**/*.test.ts", "**/*.test.tsx"],
"references": [{ "path": "./tsconfig.node.json" }]
}