Shoehorn Desk - a TypeScript test file migrated from as-assertions to shoehorn
Migrate one TypeScript test file from as-assertions to @total-typescript/shoehorn. Free in your browser: every as, as unknown as, as any and angle-bracket assertion found with the exact span of its expression and type, and the safe ones rewritten in place - a literal asserted to a type becomes fromPartial, a double assertion becomes fromAny, with the type kept as the generic where TypeScript gives no contextual type - with the shoehorn import merged; DOM narrowing and casts on values left for a decision, and a file with no tests refused. Plus the assertion table, the skill's checklist and CSVs. Metered runs write the review (each assertion decided, what a scan cannot see, the order) and the whole migrated file, which the page re-scans. Built on the SkillSafe skill @mattpocock/migrate-to-shoehorn, from mattpocock/skills (MIT), by Matt Pocock.
gpt-terra Every public app is built from a security-scanned skill and must pass a clean scan — skill and frontend — before it can be listed. Have a skill of your own? Turn it into an app — or read the step-by-step walkthrough.