Warp/node_modules/@algolia/autocomplete-shared/dist/esm/invariant.d.ts

7 lines
284 B
TypeScript
Raw Normal View History

2024-01-05 12:14:38 +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;