@nestjs/typeorm
Version:
Nest - modern, fast, powerful node.js web framework (@typeorm)
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 {};