@jblib/should
v0.0.5
Published
should, assertions that throw errors when conditions aren't met
Readme
jblib should
helpful assertions and conditions for typescript.
import { shouldNever } from '@jblib/should'
const obj = {
field: in?.thing ?? shouldNever()
}fail loudly in conditions that should never be met!
