Overview
Remove the locally defined duplicated types and replace it with an import from domain/types.ts.
Changes
- Delete
Pagination type definition from useTopPage.ts
- Import
Pagination from domain/types.ts
Note
State and Filters types remain in the hook as they are
implementation details, not domain concepts.
Overview
Remove the locally defined duplicated types and replace it with an import from
domain/types.ts.Changes
Paginationtype definition fromuseTopPage.tsPaginationfromdomain/types.tsNote
StateandFilterstypes remain in the hook as they areimplementation details, not domain concepts.