Relation
@tsed/core
Usage
typescript
import { Relation } from "@tsed/core/src/types/Relation";Overview
ts
type Relation<T> = T;Description
Type marker for expressing a relationship between models/DTOs.
In some contexts, Relation<T> is used to indicate that a property represents a related entity of type T. It is a transparent alias for T, primarily serving documentation and intent.