InterfaceIConfig

IConfig interface for configuring whole class during instantiating

interface IConfig {
    childrenProp?: string;
    idProp?: string;
    parentIdProp?: string;
}

Properties

childrenProp?: string

Name of property where child nodes are stored

idProp?: string

Name of unique identifier property in nodes

parentIdProp?: string

Name of parent identifier property in nodes