UNPKG

@mikro-orm/core

Version:

TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.

6 lines (5 loc) 252 B
import { type Constructor } from '../typings.js'; import { EntitySchema } from './EntitySchema.js'; export declare function discoverEntities(paths: string | string[], options?: { baseDir?: string; }): Promise<Iterable<EntitySchema | Constructor>>;