Skip to content

Refactor: Remove duplicate types definition #297

@zigzagdev

Description

@zigzagdev

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions