Infer union from Joi.when
Closed this issue · 1 comments
TCMiranda commented
It may be possible to infer A | B
from .when('...', { is: X, then: A, otherwise: B })
.
From: hapijs/joi#1557 (comment)
Closed this issue · 1 comments
It may be possible to infer A | B
from .when('...', { is: X, then: A, otherwise: B })
.
From: hapijs/joi#1557 (comment)