undici icon indicating copy to clipboard operation
undici copied to clipboard

Missing Interceptable type in export ?

Open fraxken opened this issue 4 years ago • 2 comments

Bug Description

While working on UT (with TypeScript) for one of our project we were unable to found the Interceptable type in the undici export.

https://github.com/nodejs/undici/blob/main/types/mock-interceptor.d.ts#L88

Reproducible By

//

Expected Behavior

Export the Interceptable type.

Environment

Node.js 16.13.x on Windows 10.

fraxken avatar Mar 28 '22 10:03 fraxken

I'm ok to send a PR if maintainer confirm this should be exported :)

fraxken avatar Mar 28 '22 10:03 fraxken

I think it's ok to export it!

mcollina avatar Mar 28 '22 13:03 mcollina