Closed ghmendonca closed 5 years ago
Hi, I would like to have interfaces instead of types, because then, I can use them to extends from Hapi.Request and use to validate the requests payloads. Is it possible to do that?
Hey @ghmendonca, I'm not sure what you mean exactly, could you please post a short sample?
Also, InterfaceFrom should already return an inferred interface.
InterfaceFrom
Hi, I would like to have interfaces instead of types, because then, I can use them to extends from Hapi.Request and use to validate the requests payloads. Is it possible to do that?