2.2.2 • Published 12 months ago
@johngw/error v2.2.2
@johngw/error
Error handling
assertNever<T, M extends string>(message: M, type: T): CompileError<[M, T]>
An adaptation of assertNever that provides the reader with a custom type error.