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
Convert all hooks in
src/hooks/**from.jsto.tswith proper TypeScript definitions. Hooks are called from many components, so this conversion provides immediate type safety improvements across the codebase.Acceptance Criteria:
.tswith return typesuseCache<T>)