/** * Function used to assert a given code path is unreachable */ export declare function unreachable(): never; /** * Function used to assert a given code path is unreachable. * Very useful for ensuring switches are exhaustive: * * ```ts * switch (a.type) { * case Types.A: * case Types.B: * break * default: * unreachable(a) // will cause a build error if there was * // a Types.C that was not checked * } * ``` * * @param value Value to be asserted as unreachable */ export declare function unreachable(value: never): never; //# sourceMappingURL=utils.d.ts.map