StrictArgs<T>
type StrictArgs<T>: { [key in keyof T as key | CamelCaseKey<key>]: T[key] } & object;
Command handler arguments, with all keys available in camelCase.
Type declaration
_
_: (string | number)[];
Non-option arguments
$0
$0: string;
The script name or node command
Type Parameters
Type Parameter |
---|
T |