You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also had this problem then I looked at all the options and if I understood correctly we need to tell the parser that we want it to be converted to array by using the array option as follow
I.e. you still need to tell the parser whether to treat an option as an array, before greedy parsing even comes into play. And greedy-arrays are already true by default (as of v21)
@banli17 I see you asked the same question in #372. I hope the above answers it.
how to get
{ _: [ ], foo: ['apple', 'banana', 'cat' ] }
Instead of specifying array: ['foo'],The text was updated successfully, but these errors were encountered: