UNPKG

typeorm

Version:

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

6 lines (5 loc) 250 B
import { 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>;