aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node_modules/undici/types/interceptors.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/undici/types/interceptors.d.ts')
-rw-r--r--node_modules/undici/types/interceptors.d.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/node_modules/undici/types/interceptors.d.ts b/node_modules/undici/types/interceptors.d.ts
new file mode 100644
index 0000000..047ac17
--- /dev/null
+++ b/node_modules/undici/types/interceptors.d.ts
@@ -0,0 +1,5 @@
+import Dispatcher from "./dispatcher";
+
+type RedirectInterceptorOpts = { maxRedirections?: number }
+
+export declare function createRedirectInterceptor (opts: RedirectInterceptorOpts): Dispatcher.DispatchInterceptor