UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript and ES2023+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.

6 lines (5 loc) 255 B
import type { EntityTarget } from "../../common/EntityTarget"; /** * Function that returns a type of the field. Returned value must be a class used on the relation. */ export type RelationTypeInFunction = ((type?: any) => Function) | EntityTarget<any>;