prefer-unknown-over-any
No SKILL.md available for this skill.
View on GitHubMore from marius-townhouse/effective-typescript-skills
code-gen-independent
Use when confused about types at runtime. Use when trying to use instanceof with interfaces. Use when type errors don't prevent JavaScript output.
12module-by-module-migration
Use when migrating large codebases. Use when converting JavaScript to TypeScript. Use when managing dependencies. Use when planning migration order. Use when teams are adopting TypeScript.
11editor-interrogation
Use when debugging type inference. Use when types behave unexpectedly. Use when learning unfamiliar code.
11imprecise-over-inaccurate
Use when types become too complex. Use when precision causes false positives. Use when accuracy is uncertain.
10branded-types
Use when primitive types need semantic distinction. Use when string or number types have different meanings. Use when you need nominal typing.
10avoid-wrapper-types
Use when typing primitives. Use when tempted to use String, Number, Boolean. Use when wrapper types appear in errors.
10