We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00d1e92 commit 62f5ebfCopy full SHA for 62f5ebf
lib/common/typeorm.decorators.ts
@@ -15,12 +15,12 @@ export const InjectRepository = (
15
16
export const InjectConnection: (
17
connection?: Connection | ConnectionOptions | string,
18
-) => ParameterDecorator = (
+) => ReturnType<typeof Inject> = (
19
20
) => Inject(getConnectionToken(connection));
21
22
export const InjectEntityManager: (
23
24
25
26
) => Inject(getEntityManagerToken(connection));
0 commit comments