Closed Khuzha closed 3 years ago
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
I saw this my old issue, and would share solution I found: just use .strict(true)
.strict(true)
Is there any way to specify checkPreferences? In real joi I can specify it as follows:
But in types-joi it does not work