/** * Helper function to find uncaught cases at compile-time. * * @example * declare var myVar: 'first' | 'second' | 'unhandled'; * switch (myVar) { * case 'first': handleFirstCase(); break; * case 'second': handleSecondCase(); break; * // TypeScript will emit an error if not all cases are handled * default: unhandledCase(myVar); * } */ export declare function unhandledCase(unhandled: never, propertyToShow?: string): any;