TypeScript definitions for task-graph-runner


stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
34,956811Jul 25, 2021Oct 5, 2012Minified + gzip package size for @types/task-graph-runner in KB



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


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


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


// 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


These definitions were written by Melvin Groenhoff.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.