sindresorhus / meow

🐈 CLI app helper
MIT License
3.53k stars 150 forks source link

Allow `default` property of `Flag` types to accept arrays #190

Closed RobertSasak closed 3 years ago

RobertSasak commented 3 years ago

Fixes: https://github.com/sindresorhus/meow/issues/189

sindresorhus commented 3 years ago

Can you add a type test?

And when isMultiple: true, it should only be an array.

RobertSasak commented 3 years ago

Thank you for teaching me tsd

sindresorhus commented 3 years ago

Thanks :)