diff --git a/types/sade/index.d.ts b/types/sade/index.d.ts index ac83538624..413b26b595 100644 --- a/types/sade/index.d.ts +++ b/types/sade/index.d.ts @@ -6,14 +6,14 @@ import * as mri from 'mri'; -type Handler = (...args: any[]) => void; - /** * Sade is a small but powerful tool for building command-line interface (CLI) applications for Node.js that are fast, responsive, and helpful! * It enables default commands, git-like subcommands, option flags with aliases, default option values with type-casting, * required-vs-optional argument handling, command validation, and automated help text generation! */ declare namespace sade { + type Handler = (...args: any[]) => any; + interface CommandOptions { /** * Optionally define one or more aliases for the current Command.