Skip to main content
Version: v1

HasVariadicTraits Interface

An object which may have traits with children of the given type underneath it

Signature

export interface HasVariadicTraits<TChild>

Type Parameters

Parameter Description
TChild

Properties

Property Modifiers Type Description
traits optional { readonly [key: string]: TChild | TreeNodeSequence<TChild> | undefined; }

Property Details

traits

Signature

readonly traits?: {
readonly [key: string]: TChild | TreeNodeSequence<TChild> | undefined;
};

Type: { readonly [key: string]: TChild | TreeNodeSequence<TChild> | undefined; }