From de8d3f2d6b189a07f83f18fbe380db51768e68db Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdxcode@users.noreply.github.com> Date: Fri, 16 Feb 2018 17:06:26 -0800 Subject: [PATCH] fix: default args to [] --- src/command.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command.ts b/src/command.ts index f9dda618..fc2d0858 100644 --- a/src/command.ts +++ b/src/command.ts @@ -117,7 +117,7 @@ export namespace Command { options: a.options, default: typeof a.default === 'function' ? a.default({}) : a.default, hidden: a.hidden, - })) : {} as Command['args'], + })) : [], } } }