UNPKG

177 BTypeScriptView Raw
1export declare function isStackOverflowExeption(error: Error): boolean;
2export declare const tryAndThrowErrorIfStackOverflow: <T>(fn: () => T, errorCallback: () => Error) => T;