From d1d769ba169c6906d4bb4355189faddce3155e00 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Mon, 3 Apr 2023 12:18:33 +0200 Subject: [PATCH] fix: fix unspecified arg types --- src/types.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/types.ts b/src/types.ts index 8ea8e04..ea6527a 100644 --- a/src/types.ts +++ b/src/types.ts @@ -34,12 +34,7 @@ export type ParsedArgs = { _: string[] } & Record< }[keyof T], boolean > & - Record< - { - [K in keyof T]: T[K] extends {} ? K : never; - }[keyof T], - string | boolean - >; + Record; // ----- Command -----