Annotated makeBillDraft's return as SourceBill (index-signatured) and exported it, so its draft output stays typed; BillModal keeps initialBill: Partial<Bill> and callers cast makeBillDraft(...) as Partial<Bill> at the boundary. typecheck 0. |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| lib | ||
| pages | ||
| public/img | ||
| App.tsx | ||
| api.ts | ||
| index.css | ||
| main.tsx | ||
| types.ts | ||