Skip to content

Missing array in flags.type document  #134

@ybiquitous

Description

@ybiquitous

Hi,

Currently, the flags.type possible values are documented as string, boolean, and number:

- `type`: Type of value. (Possible values: `string` `boolean` `number`)

Also on README:

https://github.com/sindresorhus/meow#flags

But the actual values by minimist-options include also array:

export type OptionType = 'string' | 'boolean' | 'number' | 'array';

https://github.com/vadimdemedes/minimist-options/blob/f6d24087f871d6605b6c8d0f9c2b36af18467875/index.d.ts#L3

Do these descriptions about flags.type need to include array?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions