@nestjs/typeorm
Version:
TypeORM for NestJS: connections and repositories through dependency injection, entities, transactions and multiple databases.
13 lines (12 loc) • 450 B
TypeScript
type OptionalCtor = (new (...args: any[]) => any) | undefined;
/**
* The TypeORM `Connection` class (removed in TypeORM v1.0.0, replaced by
* `DataSource` since 0.3.0). Resolves to `undefined` on TypeORM v1+.
*/
export declare const Connection: OptionalCtor;
/**
* The TypeORM `AbstractRepository` class (removed in TypeORM v1.0.0).
* Resolves to `undefined` on TypeORM v1+.
*/
export declare const AbstractRepository: OptionalCtor;
export {};