Type Alias: FlagTypeFunction<T>
ts
type FlagTypeFunction<T> = (value) => T & object;Defined in: packages/parser/src/types.ts:14
Defines how a string input is converted to the target type T.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
display? | string | Optional display name for the type, useful in help output. If provided, this will be shown instead of the function name. | packages/parser/src/types.ts:19 |
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
T | unknown | The target type. |

