doc.yeswiki.pro/node_modules/@algolia/autocomplete-shared/dist/esm/invariant.d.ts

7 lines
284 B
TypeScript
Raw Normal View History

2023-05-20 16:37:42 +00:00
/**
* Throws an error if the condition is not met in development mode.
* This is used to make development a better experience to provide guidance as
* to where the error comes from.
*/
export declare function invariant(condition: boolean, message: string | (() => string)): void;