Skip to content

Commit

Permalink
fix(types): add missing DNS interceptor
Browse files Browse the repository at this point in the history
#3684 has backported the DNS interceptor from #3490. However, the func
that is exported, was not added to TypeScript defs.

Co-authored-by: Carlos Fuentes <[email protected]>
  • Loading branch information
slagiewka and metcoder95 committed Jan 22, 2025
1 parent e260e7b commit a235e20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/interceptors.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ declare namespace Interceptors {
export function retry(opts?: RetryInterceptorOpts): Dispatcher.DispatcherComposeInterceptor
export function redirect(opts?: RedirectInterceptorOpts): Dispatcher.DispatcherComposeInterceptor
export function responseError(opts?: ResponseErrorInterceptorOpts): Dispatcher.DispatcherComposeInterceptor
export function dns (opts?: DNSInterceptorOpts): Dispatcher.DispatcherComposeInterceptor
}

0 comments on commit a235e20

Please sign in to comment.