@types/yargs-unparser
Version:
TypeScript definitions for yargs-unparser
40 lines (31 loc) • 1.13 kB
Markdown
for yargs-unparser (https://github.com/yargs/yargs-unparser#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yargs-unparser.
````ts
declare namespace yargsUnparser {
type Argv = string[];
interface Arguments {
_: string[];
[ ]: any;
}
interface UnparserOptions {
alias?: Record<string, string[]> | undefined;
default?: Record<string, string> | undefined;
command?: string | undefined;
}
interface Unparser {
(args: Arguments, opts?: UnparserOptions): Argv;
}
}
declare var yargsUnparser: yargsUnparser.Unparser;
export = yargsUnparser;
````
* Last updated: Tue, 07 Nov 2023 15:11:36 GMT
* Dependencies: none
These definitions were written by [Anton Golub](https://github.com/antongolub).
> `npm install --save @types/yargs-unparser`
This package contains type definitions