mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-05-31 06:59:00 +00:00
- Extract shared `MapState<MappedProps, OwnProps>` generic into `containers/hoc.types.ts`, replacing 57 per-file local type duplicates - Add exported `WithXProps` interfaces to all state HOCs that lacked them, replacing `MapState<Record<string, unknown>, Props>` with the properly typed generic - Add exported `WithXActionsProps` interfaces to all action HOCs, annotating `mapDispatchToProps` return types and ensuring consistent exports - Fix TS errors in `withAlertStoreConnect`, `withDrawers`, `withAuthentication`, `withCurrentOrganization`, and `withOrganization` (missing args and missing casts) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>