mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-11 20:04:55 +02:00
7 lines
284 B
TypeScript
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;
|