-
Notifications
You must be signed in to change notification settings - Fork 541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TS] Signature method of Interceptor using Dispatcher#compose #2982
Comments
I see the problem, the types define that it expects a dispatch as argument, not a curried function that returns a dispatch. Would you like to send a PR? Line 23 in fcbf6de
|
Yes I can send a PR for that. Using DispatcherInterceptor type maybe ? Or will be also deprecated ? |
can you approve workflows on my PR @metcoder95 , please ? |
Codecov report seems OK ✅ |
Bug Description
Cannot define a custom Interceptor for Dispatcher#compose using TS
Reproducible By
N/A
Expected Behavior
No change when migrate from interceptors to compose :
From
To :
Logs & Screenshots
Environment
Node 20
Undici : ^6.10.0 (6.10.1)
Additional context
The text was updated successfully, but these errors were encountered: