json-dom
    Preparing search index...

    Type Alias DomItemConfig

    DomItemConfig: Partial<Omit<CoreProperties, "appendChild" | "removeChild">> & Partial<
        RenderProperties,
    > & {
        children?: DomItemConfig[];
        parentItem?: CoreItem
        | EmptyParent
        | null;
        [custom: string]: unknown;
    }

    What can be given to build an item: any of its properties (the children may be plain configs as well), plus any custom data. Whatever is left out gets its default.