Nobody's Perfect, Man

    @types/task-graph-runner
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.1 • Public • Published

    Installation

    npm install --save @types/task-graph-runner

    Summary

    This package contains type definitions for task-graph-runner (https://github.com/thejameskyle/task-graph-runner#readme).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/task-graph-runner.

    index.d.ts

    // Type definitions for task-graph-runner 1.0
    // Project: https://github.com/thejameskyle/task-graph-runner#readme
    // Definitions by: Melvin Groenhoff <https://github.com/mgroenhoff>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    // TypeScript Version: 2.1
    
    export = taskGraphRunner;
    
    declare function taskGraphRunner<Item, Result>(opts: taskGraphRunner.Opts<Item, Result>): Promise<taskGraphRunner.Results<Item, Result>>;
    
    declare namespace taskGraphRunner {
        interface Opts<Item, Result> {
            graph: Map<Item, Item[]>;
            task: (item: Item) => Result;
            force?: boolean | undefined;
        }
    
        interface Results<Item, Result> {
            values: Map<Item, Result>;
            safe: boolean;
        }
    }

    Additional Details

    • Last updated: Fri, 02 Jul 2021 21:32:13 GMT
    • Dependencies: none
    • Global values: none

    Credits

    These definitions were written by Melvin Groenhoff.

    Keywords

    none

    Install

    npm i @types/task-graph-runner

    DownloadsWeekly Downloads

    67

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    4.12 kB

    Total Files

    4

    Last publish

    Collaborators

    • types