mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
Correct test for 'ReferenceOptions' object in 'joi'.
This commit is contained in:
1 parent
b1578458f4
commit
c6fed019e8
1 file changed
+2
-3
+2
-3
@@ -78,9 +78,8 @@ whenOpts = {is: schema, otherwise: schema};
|
||||
|
||||
var refOpts: Joi.ReferenceOptions = null;
|
||||
|
||||
refOpts = {alias: bool};
|
||||
refOpts = {multiple: bool};
|
||||
refOpts = {override: bool};
|
||||
refOpts = {separator: str};
|
||||
refOpts = {contextPrefix: str};
|
||||
|
||||
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
||||
|
||||
|
||||
Reference in new issue
Block a user