UNPKG

typeorm

Version:

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

10 lines (9 loc) 233 B
import { ObjectType } from "./ObjectType"; import { EntitySchema } from ".."; /** * Entity target. */ export type EntityTarget<Entity> = ObjectType<Entity> | EntitySchema<Entity> | string | { type: Entity; name: string; };