migrate-to-shoehorn
Originally frommattpocock/skills
Installation
SKILL.md
Migrate to Shoehorn
Migrate test files from as type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace as in tests, or needs partial test data.
This skill is imported from mattpocock/skills (MIT) and is model-invoked upstream.
When to use this skill
- Migrate test files from
astype assertions to @total-typescript/shoehorn. - Use when user mentions shoehorn, wants to replace
asin tests, or needs partial test data.
Instructions
Migrate to Shoehorn
Why shoehorn?
shoehorn lets you pass partial data in tests while keeping TypeScript happy. It replaces as assertions with type-safe alternatives.