Skip to content

Commit a235e20

Browse files
slagiewkametcoder95
andcommitted
fix(types): add missing DNS interceptor
nodejs#3684 has backported the DNS interceptor from nodejs#3490. However, the func that is exported, was not added to TypeScript defs. Co-authored-by: Carlos Fuentes <[email protected]>
1 parent e260e7b commit a235e20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

types/interceptors.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ declare namespace Interceptors {
2828
export function retry(opts?: RetryInterceptorOpts): Dispatcher.DispatcherComposeInterceptor
2929
export function redirect(opts?: RedirectInterceptorOpts): Dispatcher.DispatcherComposeInterceptor
3030
export function responseError(opts?: ResponseErrorInterceptorOpts): Dispatcher.DispatcherComposeInterceptor
31+
export function dns (opts?: DNSInterceptorOpts): Dispatcher.DispatcherComposeInterceptor
3132
}

0 commit comments

Comments
 (0)