@axhxrx/assert-never@0.2.1Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
A library exporting the "assertNever" function for exhaustiveness checking.
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
JSR Score
100%
Published
3 months ago (0.2.1)
f
assertNever
Utility function for exhaustiveness checking. Use it to get compile-time errors for non-exhaustive switch
statements. Example: