InterfaceFrom returns interface instead of type
ghmendonca opened this issue · 1 comments
ghmendonca commented
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?
maghis commented
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.