TS Types

TypeScript type system advisor. Always use this skill when designing TypeScript types, working with generics, narrowing union types, building discriminated unions, using utility types, or avoiding any. Use when the user says "how do I type this", "why is TypeScript complaining", "object is possibly null", "how do I narrow this", "how do I make this generic", "what's the right type for X", "how do I model this as a union type", or "how do I constrain a generic". Read this skill before answering any TypeScript type question.

AllThingsSmitty Updated

File contents

AllThingsSmitty/agent-skills/tree/main/skills/ts-types commit e91df46a53

Frequently asked questions

npx skillmds@latest add allthingssmitty/ts-types