Type alias Identifiable<T>

Identifiable<T>: T & {
    id: ID;
}

a utility type that assigns the property id to the generic object T.
this type is commonly used by the return types of signal create functions, to make the Accessors and Setters identifiable.

Type Parameters

  • T

Type declaration

Generated using TypeDoc