migrate-to-shoehorn - Migrate test files to @total-typescript/shoehorn
Migrates TypeScript test files from `as` type assertions to @total-typescript/shoehorn functions like fromPartial and fromAny.
Tags
Updated: 2026-09-12Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Install @total-typescript/shoehorn package
- Find test files with as assertions
- Replace as Type with fromPartial
- Replace double as with fromAny
- Add imports from shoehorn package
- Run type check to verify
Inputs
- TypeScript test files
- User testing requirements
Outputs
- Updated TypeScript test files
- Installed @total-typescript/shoehorn package
Requirements
- npm package manager
- TypeScript project environment
