Interface PropertySet<TKey, TValue>

Setter of an indexed property.

interface PropertySet<TKey, TValue> {
    set(key: TKey | JsType<TKey>, value: TKey | JsType<TValue>): void;
}

Type Parameters

  • TKey

    The type of the property key.

  • TValue

    The type of the property value.

Methods

Methods

  • Sets an indexed property.

    Parameters

    Returns void