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
* feat: add surpport for Array types
* fix: add conditional statements
* fix: make dot nested options behave the same
* docs: add the description of config.type
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -310,6 +310,7 @@ Add a global option.
310
310
The option also accepts a third argument `config` for addtional option config:
311
311
312
312
-`config.default`: Default value for the option.
313
+
-`config.type`: `any[]` When set to `[]`, the option value returns an array type. You can also use a conversion function such as `[String]`, which will invoke the option value with `String`.
0 commit comments