UNPKG

@zimic/interceptor

Version:

Next-gen TypeScript-first HTTP intercepting and mocking

9 lines (7 loc) 468 B
import InterceptorServer from './InterceptorServer'; import { InterceptorServerOptions } from './types/options'; import { InterceptorServer as PublicInterceptorServer } from './types/public'; /** @see {@link https://zimic.dev/docs/interceptor/api/create-interceptor-server `createInterceptorServer` API reference} */ export function createInterceptorServer(options: InterceptorServerOptions = {}): PublicInterceptorServer { return new InterceptorServer(options); }