UNPKG

218 BTypeScriptView Raw
1declare const _default: (arg: string | RegExp | ((err: Error) => any), opts?: {
2 raiseIfNotThrown?: boolean;
3}) => {
4 run(): void;
5 catch(ctx: {
6 error: Error;
7 }): void;
8};
9export default _default;