mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Correct test for 'ReferenceOptions' object in 'joi'.
This commit is contained in:
+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