import { inspect } from "util" ; export function assertNever ( value ) { throw new Error ( `Unexpected value: ${ inspect ( value ) }` ) ; } export function assertNeverCalled ( ) { throw new Error ( `Unexpected invocation.` ) ; }