MatchedRelationDefinition<E, R, M>:R[number] extends infer RDef ? RDef extends M ? RDef : never : never
Type representing a raw relation definition matched from a partial raw relation definition schema.
If it finds a relation definition matching the partial one given, it will return its type.
If it cannot find any relation definition matching, it will return the never type
and TypeScript will give compile errors.
Type representing a raw relation definition matched from a partial raw relation definition schema. If it finds a relation definition matching the partial one given, it will return its type. If it cannot find any relation definition matching, it will return the
never
type and TypeScript will give compile errors.