unmock-core
Version:
[][npmjs] [](https://circleci.com/gh/unmock/unmock-js) [](h
10 lines • 369 B
TypeScript
import { OnSerializedRequest } from "../interfaces";
export interface IInterceptorOptions {
onSerializedRequest: OnSerializedRequest;
shouldBypassHost: (host: string) => boolean;
}
export declare type IInterceptorFactory = (options: IInterceptorOptions) => IInterceptor;
export interface IInterceptor {
disable(): void;
}
//# sourceMappingURL=index.d.ts.map