Open cybercode opened 1 year ago
I don't think it's exposed right now, is inference a problem?
If you absolutely need it, you can get it pretty easily: https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAdSgUwMYGs4DMoRHAcgAEALAQzGAHoB3FDAgbgChmYBPMZOAcWRgBKyAM6QAdsOQAeACpwAvHACuY9GIg0xAPgVwhMJVDEzO0jlwhZE9dADoA5v1latLZmWHsxqbCtQxgCDFsflQSZwAKAEoALjgABVwQYEkpPkERcVSZFzgAb2Y4OBQDI2s0O0cYCIJbOoIolgBfIA
But it shouldn't be very hard to expose either.
Support plan
Context
How can we help?
I am trying to use Wreck in a typescript hapi service. I am unable figure out how to get the type definition for the
Wreck.Response
.examples, none of the following work
causes the error "Cannot find namespace 'Wreck'"
and
"Module '"@hapi/wreck"' has no exported member 'Response'."