Skip to content

Commit 3ee4cef

Browse files
committed
lib: make 'values' an optional 'any' val type option
1 parent 48eec0c commit 3ee4cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/coerce.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ exports.valObjects = {
222222
any: {
223223
description: 'Any type.',
224224
requiredOpts: [],
225-
otherOpts: ['dflt'],
225+
otherOpts: ['dflt', 'values'],
226226
coerceFunction: function(v, propOut, dflt) {
227227
if(v === undefined) propOut.set(dflt);
228228
else propOut.set(v);

0 commit comments

Comments
 (0)