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.