UNPKG

601 BTypeScriptView Raw
1import { e as StrictResponse } from './HttpResponse-5Sn2vNaJ.js';
2import './utils/internal/isIterable.js';
3import './typeUtils.js';
4
5/**
6 * Performs the intercepted request as-is.
7 *
8 * This stops request handler lookup so no other handlers
9 * can affect this request past this point.
10 * Unlike `bypass()`, this will not trigger an additional request.
11 *
12 * @example
13 * http.get('/resource', () => {
14 * return passthrough()
15 * })
16 *
17 * @see {@link https://mswjs.io/docs/api/passthrough `passthrough()` API reference}
18 */
19declare function passthrough(): StrictResponse<any>;
20
21export { passthrough };