How to use checkPreferences?
Khuzha opened this issue · 1 comments
Khuzha commented
Is there any way to specify checkPreferences? In real joi I can specify it as follows:
const someSchema = Joi.object().keys({
...
}).prefs({ convert: false });
But in types-joi it does not work
Khuzha commented
I saw this my old issue, and would share solution I found: just use .strict(true)