doc.yeswiki.pro/node_modules/@algolia/autocomplete-shared/dist/esm/invariant.d.ts
2023-05-20 19:38:02 +03:00

6 lines
284 B
TypeScript

/**
* 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;