blob: f9593e17c92febc325bf5de2f0bebe5e9b948af7 [file] [log] [blame]
declare module 'yargs-unparser' {
// Modified from './node_modules/@types/yargs-parser/index.d.ts'.
namespace yargsUnparser {
interface Arguments {
/** Non-option arguments */
_: string[];
/** The script name or node command */
$0: string;
/** All remaining options */
[argName: string]: any;
}
interface Options {
alias?: { [key: string]: string | string[] };
default?: { [key: string]: any };
command?: string;
}
interface Unparser {
(argv: Arguments, opts?: Options): string[];
}
}
var yargsUnparser: yargsUnparser.Unparser;
export = yargsUnparser;
}