Using Type Guards

Teaches how to write custom type guards with type predicates and use built-in type narrowing in TypeScript. Use when working with unknown types, union types, validating external data, or implementing type-safe runtime checks.

majiayu000 Updated 567 repo stars

File contents

majiayu000/claude-skill-registry-data/tree/main/data/using-type-guards commit 571ee10fa0

Frequently asked questions

npx skillmds@latest add majiayu000/using-type-guards