Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
fix: default args to []
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 17, 2018
1 parent 4701086 commit de8d3f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
})) : [],
}
}
}

0 comments on commit de8d3f2

Please sign in to comment.