From 9f2cfd9d09386fe63a788cdc27e23188ccfab532 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20=C5=81aziuk?= Date: Sat, 2 Sep 2017 14:25:58 +0200 Subject: [PATCH] ban-types --- types/argparse/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/argparse/index.d.ts b/types/argparse/index.d.ts index 509c569999..f19aadbe96 100644 --- a/types/argparse/index.d.ts +++ b/types/argparse/index.d.ts @@ -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;