From 38d0e2377c4a314234261b9fe292241e4d4e86dd Mon Sep 17 00:00:00 2001 From: ArlonAntonius <37894143+ArlonAntonius@users.noreply.github.com> Date: Wed, 8 Apr 2020 17:35:40 +0200 Subject: [PATCH 1/3] Allow parsing to anything --- src/args.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/args.ts b/src/args.ts index f992da5..da0179f 100644 --- a/src/args.ts +++ b/src/args.ts @@ -1,7 +1,7 @@ export type ParseFn = (input: string) => T // eslint-disable-next-line @typescript-eslint/interface-name-prefix -export interface IArg { +export interface IArg { name: string; description?: string; required?: boolean; From 0b3ca2c2d3ea94510c4add876e0a68d1cebda312 Mon Sep 17 00:00:00 2001 From: Arlon Antonius <37894143+ArlonAntonius@users.noreply.github.com> Date: Wed, 8 Apr 2020 18:48:42 +0200 Subject: [PATCH 2/3] Revert change to see if it's a bug --- src/args.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/args.ts b/src/args.ts index da0179f..f992da5 100644 --- a/src/args.ts +++ b/src/args.ts @@ -1,7 +1,7 @@ export type ParseFn = (input: string) => T // eslint-disable-next-line @typescript-eslint/interface-name-prefix -export interface IArg { +export interface IArg { name: string; description?: string; required?: boolean; From 70ccaaaf86013cfbdb9d18ef2e8cae0dc35dc771 Mon Sep 17 00:00:00 2001 From: Arlon Antonius <37894143+ArlonAntonius@users.noreply.github.com> Date: Wed, 8 Apr 2020 18:51:30 +0200 Subject: [PATCH 3/3] Bring back change --- src/args.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/args.ts b/src/args.ts index f992da5..da0179f 100644 --- a/src/args.ts +++ b/src/args.ts @@ -1,7 +1,7 @@ export type ParseFn = (input: string) => T // eslint-disable-next-line @typescript-eslint/interface-name-prefix -export interface IArg { +export interface IArg { name: string; description?: string; required?: boolean;