@opendatasoft/visualizations
Version:
Opendatasoft's components to easily build dashboards and visualizations.
8 lines (7 loc) • 364 B
TypeScript
/**
* Check (in the compiler) that a switch block is exhaustive.
* Documentation: https://www.typescriptlang.org/docs/handbook/2/narrowing.html#exhaustiveness-checking
*/
export declare function assertUnreachable(_x: never): never;
/** Returns a random ID, suitable to be used for example as an HTML element ID. */
export declare function generateId(): string;