Open Veetaha opened 5 years ago
Yes, but joi-browser is out of date. It may not match the behavior of the current joi. @jeffbski
I prefer creating a new package because the official joi does not have browser version at all. So typesafe-joi should not have neither.
@jeffbski Could you please test if joi-browser is compatible with the latest joi? I would like to submit a PR to integrate typesafe-joi into joi-browser.
I am sorry, if there indeed exists a clever way to use
joi-browser
when importing this library, but I failed to find it. May ask you to add a file liketypesafe-joi/browser
that would exportjoi-browser
instead of plainjoi
and use the same typings?