undici 7.0.0-alpha.6 → 7.0.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@ import Dispatcher from './dispatcher'
2
2
 
3
3
  export default RetryHandler
4
4
 
5
- declare class RetryHandler implements Dispatcher.DispatchHandlers {
5
+ declare class RetryHandler implements Dispatcher.DispatchHandler {
6
6
  constructor (
7
7
  options: Dispatcher.DispatchOptions & {
8
8
  retryOptions?: RetryHandler.RetryOptions;
@@ -32,7 +32,7 @@ declare namespace RetryHandler {
32
32
  };
33
33
  },
34
34
  callback: OnRetryCallback
35
- ) => number | null
35
+ ) => void
36
36
 
37
37
  export interface RetryOptions {
38
38
  /**
@@ -111,6 +111,6 @@ declare namespace RetryHandler {
111
111
 
112
112
  export interface RetryHandlers {
113
113
  dispatch: Dispatcher['dispatch'];
114
- handler: Dispatcher.DispatchHandlers;
114
+ handler: Dispatcher.DispatchHandler;
115
115
  }
116
116
  }