UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, 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>;