ban-types

This commit is contained in:
Tomek Łaziuk
2017-09-02 14:25:58 +02:00
parent 37c7dd3c6d
commit 9f2cfd9d09

View File

@@ -89,7 +89,8 @@ export interface ArgumentOptions {
nargs?: string | number;
constant?: any;
defaultValue?: any;
type?: string | Function;
// type may be a string (primitive) or a Function (constructor)
type?: string | Function; // tslint:disable-line:ban-types
choices?: string | string[];
required?: boolean;
help?: string;