diff --git a/lib/common/typeorm.decorators.ts b/lib/common/typeorm.decorators.ts index 47176a3fc..9734dd0eb 100644 --- a/lib/common/typeorm.decorators.ts +++ b/lib/common/typeorm.decorators.ts @@ -13,7 +13,7 @@ export const InjectRepository = ( dataSource: string = DEFAULT_DATA_SOURCE_NAME, ): ReturnType => Inject(getRepositoryToken(entity, dataSource)); -export const InjectdataSource: ( +export const InjectDataSource: ( dataSource?: DataSource | DataSourceOptions | string, ) => ReturnType = ( dataSource?: DataSource | DataSourceOptions | string,