UNPKG

@manuth/woltlab-compiler

Version:

A compiler for generating WoltLab-Package `.tar` Archives and other WoltLab-Package Components

26 lines (25 loc) 456 B
/** * Provides options for the {@link Node `Node<T, TOptions>`} class. */ export interface INodeOptions<T> { /** * The id of the node. */ ID?: string; /** * The name of the node. */ Name: string; /** * The item of the node */ Item?: T; /** * The parent of the node. */ Parent?: INodeOptions<T>; /** * The children of the node. */ Nodes?: Array<INodeOptions<T>>; }