gunshi / definition / define
Function: define()
ts
function define<A>(definition): Command<A>;Define a command with type inference
Type Parameters
| Type Parameter | Default type |
|---|---|
A extends Args | Args |
Parameters
| Parameter | Type | Description |
|---|---|---|
definition | Command<A> | A command definition |
Returns
Command<A>
A command definition with type inference
