Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
35 lines
498 B
Plaintext
35 lines
498 B
Plaintext
declare namespace _exports {
|
|
export { TreeNode };
|
|
}
|
|
declare function _exports<T>(
|
|
plan: Map<string, T[] | T>,
|
|
limit: number,
|
|
): Map<string, Map<T, string>>;
|
|
export = _exports;
|
|
type TreeNode<T> = {
|
|
/**
|
|
* target
|
|
*/
|
|
target: string;
|
|
/**
|
|
* parent
|
|
*/
|
|
parent: TreeNode<T>;
|
|
/**
|
|
* children
|
|
*/
|
|
children: TreeNode<T>[];
|
|
/**
|
|
* number of entries
|
|
*/
|
|
entries: number;
|
|
/**
|
|
* true when active, otherwise false
|
|
*/
|
|
active: boolean;
|
|
/**
|
|
* value
|
|
*/
|
|
value: T[] | T | undefined;
|
|
};
|