Types Not Workarounds

Fix imprecise types at their source instead of papering over them with runtime checks, assertion helpers, or `in` narrowing. Use when reviewing or writing code that adds a guard, an assertion, or an optional chain only to satisfy the type checker.

typescript-eslint 163e9a5 4.9 KB Updated

File contents

typescript-eslint/typescript-eslint/tree/main/.agents/skills/types-not-workarounds commit 163e9a5f05

Frequently asked questions

npx skillmds@latest add typescript-eslint/types-not-workarounds