title: how to give interface for joi-objectid?
body: <p>I am using joi to validate the schema of my objects. For objectid validation joi has a seperate package <a href="https://www.npmjs.com/package/joi-objectid" rel="nofollow noreferrer">joi-objectid</a>. I am using it for objectid validation. But recently when i am trying to migrate my code into typescript joi is throwing an error that objectid does not exist on joi. Since it is added at runtime we cannot get the reference. how can i override the joi types so that it supports objectid function.?</p>