Files
Basalt2/node_modules/@algolia/autocomplete-shared/dist/esm/invariant.d.ts
Robert Jelic b0a4a6da9c Vitepress
2025-02-10 06:53:23 +01:00

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