@types/yargs-unparser
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

Installation

npm install --save @types/yargs-unparser

Summary

This package contains type definitions for yargs-unparser (https://github.com/yargs/yargs-unparser#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yargs-unparser.

index.d.ts

declare namespace yargsUnparser {
    type Argv = string[];
    interface Arguments {
        _: string[];
        [argName: 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;

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Anton Golub.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/yargs-unparser

Weekly Downloads

7,780

Version

2.0.3

License

MIT

Unpacked Size

3.58 kB

Total Files

5

Last publish

Collaborators

  • types