UNPKG

291 BTypeScriptView Raw
1type CompositeError = Error;
2type ListrError = Error & {
3 errors: CompositeError[];
4};
5export declare function isListrError(err: Error & {
6 name?: unknown;
7 errors?: unknown;
8}): err is ListrError;
9export declare function cliError(err: any, exitOnError?: boolean): void;
10export {};