UNPKG

@turbox3d/command-manager

Version:

Large-scale productivity application command management library

9 lines (8 loc) 394 B
import { Command } from './Command'; import { CommandType } from './create'; import { ComposedCommand, IDeclaredMap } from './type'; /** * 构建一个组合了其他 Command 的结构(本质依然是一个 Command) */ declare function compose<M extends IDeclaredMap<CommandType> = IDeclaredMap<CommandType>>(declaredMap: M): ComposedCommand<Command, CommandType, M>; export { compose };