Neutered Paranoid Meerkat

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

    2.0.1 • 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

    // Type definitions for yargs-unparser 2.0
    // Project: https://github.com/yargs/yargs-unparser#readme
    // Definitions by: Anton Golub <https://github.com/antongolub>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    
    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: Fri, 02 Jul 2021 16:32:07 GMT
    • Dependencies: none
    • Global values: none

    Credits

    These definitions were written by Anton Golub.

    Keywords

    none

    Install

    npm i @types/yargs-unparser

    DownloadsWeekly Downloads

    6,494

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    4.07 kB

    Total Files

    4

    Last publish

    Collaborators

    • types