Ban Type Assertions

Ban `as` type assertions via the native oxlint `typescript/consistent-type-assertions` rule (`assertionStyle: 'never'`), replacing them with compiler-verified type-safe alternatives. Use when enabling the assertion ban in a project or fixing violations in an existing one.

whamp 34587cc 2 files · 7.3 KB Updated

File contents

Whamp/skills/tree/main/engineering/ban-type-assertions commit 34587cc3c3

Frequently asked questions

npx skillmds@latest add whamp/ban-type-assertions