mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-26 00:21:41 +08:00
17 lines
557 B
TypeScript
17 lines
557 B
TypeScript
// Type definitions for sequencify v0.0
|
|
// Project: https://github.com/robrich/sequencify
|
|
// Definitions by: Nicolas Penin <https://github.com/npenin>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
// Definition file started by dts-gen
|
|
|
|
export = sequencify;
|
|
|
|
declare namespace sequencify {
|
|
export type Task = { name: string, dep: string[] };
|
|
|
|
export type TaskMap = { [name: string]: Task }
|
|
}
|
|
|
|
declare function sequencify(tasks: sequencify.TaskMap, names: (keyof sequencify.TaskMap)[], results: string[], nest?: string[]): void;
|