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