UNPKG

typeorm

Version:

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

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