Commit 3945773
authored
fix(types): allow Promise<void> return type for proxyRes callback (#1190)
The proxyRes callback type only allowed void return type, but when
using responseInterceptor, the handler is async and returns Promise<void>.
This fix updates the type to allow both void and Promise<void> return
types, matching the actual behavior of responseInterceptor.
Fixes #11511 parent 87107bf commit 3945773
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments