Type 'string[]' is not assignable to type 'string | number | boolean | undefined'.
Type 'string[]' is not assignable to type 'string'.ts(2322)
index.d.ts(18, 11): The expected type comes from property 'default' which is declared here on type 'AnyFlag'
(property) Flag<"string", string>.default?: string | undefined
Property default expects string, boolean, number. However when isMultiple is true it should also accepts arrays.
Here is a minimal example of the issue:
Actual error message: