UNPKG

batch-cluster

Version:
8 lines (7 loc) 301 B
/** * When we wrap errors, an Error always prefixes the toString() and stack with * "Error: ", so we can remove that prefix. */ export declare function tryEach(arr: (() => void)[]): void; export declare function cleanError(s: unknown): string; export declare function asError(err: unknown): Error;