ExtensibleOnly creates a factory that produces a MutableCluster when the user selects features.

We define clusters this way if the Matter specification defines a cluster with a set of features, one of which is required, but none of which is required if others are enabled.

interface ExtensibleOnly<T> {
    constructor: any;
    id: ClusterId;
    name: string;
    with: (<const SelectionT>(...selection: SelectionT) => Of<Of<T>, SelectionT>);
}

Type Parameters

Constructors

Properties

Constructors

constructor: any

Properties

name: string
with: (<const SelectionT>(...selection: SelectionT) => Of<Of<T>, SelectionT>)

Type declaration