Type alias DerivedId<T>

DerivedId<T>: symbol & {
    _derivedStateType: T;
}

The rx-signals Store uses this type to uniquely identify behaviors representing a derived-state behavior. A DerivedId<T> does not make any use of the generic T` itself, but is given this parameter only as a trick to let Typescript infer and thus enforce the correct types. Use the getDerivedId function to generate a corresponding ID.

Type Parameters

  • T

    specifies the value-type for the corresponding behavior observable

Generated using TypeDoc