mirror of
https://github.com/CamHenlin/MessagesForMacintosh.git
synced 2024-11-29 08:49:40 +00:00
15 lines
496 B
TypeScript
15 lines
496 B
TypeScript
/// <reference types="node" />
|
|
export declare class InvariantError extends Error {
|
|
framesToPop: number;
|
|
name: string;
|
|
constructor(message?: string | number);
|
|
}
|
|
export declare function invariant(condition: any, message?: string | number): void;
|
|
export declare namespace invariant {
|
|
const warn: (...args: any[]) => void;
|
|
const error: (...args: any[]) => void;
|
|
}
|
|
declare let processStub: NodeJS.Process;
|
|
export { processStub as process };
|
|
export default invariant;
|