@launchmenu/core
Version:
An environment for visual keyboard controlled applets
13 lines • 607 B
TypeScript
import { IActionNode, IActionNodeWithTargets } from "../_types/IActionNode";
export declare type INodeState = {
node: IActionNode;
started: boolean;
finished: boolean;
};
/**
* Creates a full ordering from the given tree, such that no action depends on the actions that come after it
* @param tree The tree to get the full ordering for
* @returns The full action ordering
*/
export declare function createActionOrdering<T extends IActionNode>(tree: T): (T extends IActionNodeWithTargets ? IActionNodeWithTargets : IActionNode)[];
//# sourceMappingURL=createActionOrering.d.ts.map