mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
ban-types
This commit is contained in:
3
types/argparse/index.d.ts
vendored
3
types/argparse/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user