Skip to content

Commit 1002d8e

Browse files
committed
Add Orm aliases for backward compatibility
1 parent cc6f74b commit 1002d8e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
export * from "./decorators/InjectConnection";
22
export * from "./decorators/InjectManager";
33
export * from "./decorators/InjectRepository";
4+
5+
// deprecated aliases
6+
export { InjectConnection as OrmConnection } from "./decorators/InjectConnection";
7+
export { InjectManager as OrmManager } from "./decorators/InjectManager";
8+
export { InjectRepository as OrmRepository } from "./decorators/InjectRepository";

0 commit comments

Comments
 (0)