/**
 * This function can be used to assert at compile time that a given value has type never.
 * One common usage is in the default case of a switch block,
 * to ensure that all cases are explicitly handled.
 */ export function unreachableCase ( _ , message = "Unreachable Case" ) { throw new Error ( message ) ; }