'interceptors' export doesn't work like in the docs #3308
Labels
bug
Something isn't working
good first issue
Good for newcomers
Types
Changes related to the TypeScript definitions
Bug Description
I'm trying to use the built-in retry interceptor, like in this docs example:
Following TypeScript's suggestion, this seems to work:
That's a decent workaround for now, but it'd be great if the export could work as the doc describes.
Using undici v6.18.2, the latest as of this writing.
The text was updated successfully, but these errors were encountered: