import { Node } from '../entities/Core/Node'; /** * 可遍历节点的接口,定义了获取子节点的方法 */ export interface ITraversable { children: Node[]; }