Skip to content

Migrate All Hooks to TypeScript #245

Description

@Nanle-code

Convert all hooks in src/hooks/** from .js to .ts with proper TypeScript definitions. Hooks are called from many components, so this conversion provides immediate type safety improvements across the codebase.

Acceptance Criteria:

  • All hooks converted to .ts with return types
  • Generic hooks use proper TypeScript generics (e.g., useCache<T>)
  • Hook parameters are properly typed with interfaces
  • Export types for hook return values for consumer components
  • All 40+ hooks have test coverage maintained
  • No breaking changes to hook APIs

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions