Phase 0: Type Audit and Cleanup
Overview
Findings from Actual Codebase
Types Are Mostly Good!
Already Using Official IIIF Types
Issues Found
1. Implicit any in setSearchResults (2 locations)
any in setSearchResults (2 locations)2. Missing Type Documentation for Common Patterns
3. Type Centralisation
Tasks
1. Fix Implicit any Types
any Types2. Add Missing Type Definitions (Optional but Recommended)
3. Document Existing Type Structure
4. Verify Component Prop Types
5. Run TypeScript Compiler
6. Validate Against Official Specs
Wellcome Catalogue API Types:
Acceptance Criteria
What This Phase Achieves
Next Steps
Last updated