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

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

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: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Melvin Groenhoff.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/task-graph-runner

Weekly Downloads

5

Version

1.0.4

License

MIT

Unpacked Size

3.56 kB

Total Files

5

Last publish

Collaborators

  • types