Closed cmaster11 closed 7 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
12420fe
) 98.77% compared to head (7501e89
) 98.79%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
There is a peculiar Joi detail where
Joi.object()
andJoi.object({})
behave in different ways:Joi.object()
allows by default any key/value pair.Joi.object({})
DOES NOT allow by default any key/value pair.When generating TS definitions,
Joi.object()
is perfectly represented byobject
, butJoi.object({})
should be a forcefully empty object{}
.This PR addresses this last situation.