Type alias WithId<T>

WithId<T>: NoId<T> & {
    _id: IdOf<T>;
}

Forces the given type to include an _id

Type Parameters

  • T

Type declaration