diff --git a/packages/authentication/src/repositories/auth-provider.ts b/packages/authentication/src/repositories/auth-provider.ts index de835c69c3245..6445266d14e22 100644 --- a/packages/authentication/src/repositories/auth-provider.ts +++ b/packages/authentication/src/repositories/auth-provider.ts @@ -11,8 +11,7 @@ export class AuthProviderRepository extends DALUtils.mikroOrmBaseRepositoryFacto create: RepositoryTypes.CreateAuthProviderDTO } >(AuthProvider) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/authentication/src/repositories/auth-user.ts b/packages/authentication/src/repositories/auth-user.ts index 8b63532a636ad..6e5fa10f9c799 100644 --- a/packages/authentication/src/repositories/auth-user.ts +++ b/packages/authentication/src/repositories/auth-user.ts @@ -8,8 +8,7 @@ import { SqlEntityManager } from "@mikro-orm/postgresql" export class AuthUserRepository extends DALUtils.mikroOrmBaseRepositoryFactory( AuthUser ) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/cart/src/repositories/address.ts b/packages/cart/src/repositories/address.ts index 47a8cc388210f..53c375821e94d 100644 --- a/packages/cart/src/repositories/address.ts +++ b/packages/cart/src/repositories/address.ts @@ -10,8 +10,7 @@ export class AddressRepository extends DALUtils.mikroOrmBaseRepositoryFactory< create: CreateAddressDTO } >(Address) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/cart/src/repositories/cart.ts b/packages/cart/src/repositories/cart.ts index 8dca893e54770..952fc9fd1b778 100644 --- a/packages/cart/src/repositories/cart.ts +++ b/packages/cart/src/repositories/cart.ts @@ -10,8 +10,7 @@ export class CartRepository extends DALUtils.mikroOrmBaseRepositoryFactory< create: CreateCartDTO } >(Cart) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/pricing/src/repositories/currency.ts b/packages/pricing/src/repositories/currency.ts index 97d828402af3a..7a15ded16b39a 100644 --- a/packages/pricing/src/repositories/currency.ts +++ b/packages/pricing/src/repositories/currency.ts @@ -10,8 +10,7 @@ export class CurrencyRepository extends DALUtils.mikroOrmBaseRepositoryFactory< update: RepositoryTypes.UpdateCurrencyDTO } >(Currency) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/pricing/src/repositories/money-amount.ts b/packages/pricing/src/repositories/money-amount.ts index 7c48d7450c827..c23c7fa070edf 100644 --- a/packages/pricing/src/repositories/money-amount.ts +++ b/packages/pricing/src/repositories/money-amount.ts @@ -10,8 +10,7 @@ export class MoneyAmountRepository extends DALUtils.mikroOrmBaseRepositoryFactor update: RepositoryTypes.UpdateMoneyAmountDTO } >(MoneyAmount) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/pricing/src/repositories/price-list-rule-value.ts b/packages/pricing/src/repositories/price-list-rule-value.ts index 0df3c3876c4af..d1512834c0dfa 100644 --- a/packages/pricing/src/repositories/price-list-rule-value.ts +++ b/packages/pricing/src/repositories/price-list-rule-value.ts @@ -10,8 +10,7 @@ export class PriceListRuleValueRepository extends DALUtils.mikroOrmBaseRepositor update: RepositoryTypes.UpdatePriceListRuleValueDTO } >(PriceListRuleValue) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/pricing/src/repositories/price-list-rule.ts b/packages/pricing/src/repositories/price-list-rule.ts index 28eaf344a688a..481549f7aba35 100644 --- a/packages/pricing/src/repositories/price-list-rule.ts +++ b/packages/pricing/src/repositories/price-list-rule.ts @@ -7,8 +7,7 @@ import { RepositoryTypes } from "@types" export class PriceListRuleRepository extends DALUtils.mikroOrmBaseRepositoryFactory( PriceListRule ) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/pricing/src/repositories/price-list.ts b/packages/pricing/src/repositories/price-list.ts index accf2731faef5..e1db5946dfcae 100644 --- a/packages/pricing/src/repositories/price-list.ts +++ b/packages/pricing/src/repositories/price-list.ts @@ -7,8 +7,7 @@ import { RepositoryTypes } from "@types" export class PriceListRepository extends DALUtils.mikroOrmBaseRepositoryFactory( PriceList ) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/pricing/src/repositories/price-rule.ts b/packages/pricing/src/repositories/price-rule.ts index c582f9926747d..ce6d41ee30ddd 100644 --- a/packages/pricing/src/repositories/price-rule.ts +++ b/packages/pricing/src/repositories/price-rule.ts @@ -10,8 +10,7 @@ export class PriceRuleRepository extends DALUtils.mikroOrmBaseRepositoryFactory< update: RepositoryTypes.UpdatePriceRuleDTO } >(PriceRule) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/pricing/src/repositories/price-set-money-amount-rules.ts b/packages/pricing/src/repositories/price-set-money-amount-rules.ts index 203df384ad760..8577254b9f79b 100644 --- a/packages/pricing/src/repositories/price-set-money-amount-rules.ts +++ b/packages/pricing/src/repositories/price-set-money-amount-rules.ts @@ -10,8 +10,7 @@ export class PriceSetMoneyAmountRulesRepository extends DALUtils.mikroOrmBaseRep update: RepositoryTypes.UpdatePriceSetMoneyAmountRulesDTO } >(PriceSetMoneyAmountRules) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/pricing/src/repositories/price-set-money-amount.ts b/packages/pricing/src/repositories/price-set-money-amount.ts index 2a68f6a5605f0..dde772edc6975 100644 --- a/packages/pricing/src/repositories/price-set-money-amount.ts +++ b/packages/pricing/src/repositories/price-set-money-amount.ts @@ -10,8 +10,7 @@ export class PriceSetMoneyAmountRepository extends DALUtils.mikroOrmBaseReposito update: RepositoryTypes.UpdatePriceSetMoneyAmountDTO } >(PriceSetMoneyAmount) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/pricing/src/repositories/price-set-rule-type.ts b/packages/pricing/src/repositories/price-set-rule-type.ts index c161732cb5e8e..9cffb54d7ec10 100644 --- a/packages/pricing/src/repositories/price-set-rule-type.ts +++ b/packages/pricing/src/repositories/price-set-rule-type.ts @@ -10,8 +10,7 @@ export class PriceSetRuleTypeRepository extends DALUtils.mikroOrmBaseRepositoryF update: RepositoryTypes.UpdatePriceSetRuleTypeDTO } >(PriceSetRuleType) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/pricing/src/repositories/price-set.ts b/packages/pricing/src/repositories/price-set.ts index e2a6b6195a0b2..94cfe23065fad 100644 --- a/packages/pricing/src/repositories/price-set.ts +++ b/packages/pricing/src/repositories/price-set.ts @@ -10,8 +10,7 @@ export class PriceSetRepository extends DALUtils.mikroOrmBaseRepositoryFactory< update: RepositoryTypes.UpdatePriceSetDTO } >(PriceSet) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/pricing/src/repositories/rule-type.ts b/packages/pricing/src/repositories/rule-type.ts index 998b6143b6616..21d9f3d4f1e4a 100644 --- a/packages/pricing/src/repositories/rule-type.ts +++ b/packages/pricing/src/repositories/rule-type.ts @@ -9,8 +9,7 @@ export class RuleTypeRepository extends DALUtils.mikroOrmBaseRepositoryFactory< update: RepositoryTypes.UpdateRuleTypeDTO } >(RuleType) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/product/src/repositories/product-collection.ts b/packages/product/src/repositories/product-collection.ts index 8324e5f29787a..6a8310e0f42a9 100644 --- a/packages/product/src/repositories/product-collection.ts +++ b/packages/product/src/repositories/product-collection.ts @@ -14,8 +14,7 @@ type CreateProductCollection = ProductTypes.CreateProductCollectionDTO & { export class ProductCollectionRepository extends DALUtils.mikroOrmBaseRepositoryFactory( ProductCollection ) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/product/src/repositories/product-image.ts b/packages/product/src/repositories/product-image.ts index 04b74c0c254d7..5dc1799b1c8af 100644 --- a/packages/product/src/repositories/product-image.ts +++ b/packages/product/src/repositories/product-image.ts @@ -7,8 +7,7 @@ import { DALUtils } from "@medusajs/utils" export class ProductImageRepository extends DALUtils.mikroOrmBaseRepositoryFactory( Image ) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/product/src/repositories/product-option-value.ts b/packages/product/src/repositories/product-option-value.ts index bf47185162575..2b2929743066a 100644 --- a/packages/product/src/repositories/product-option-value.ts +++ b/packages/product/src/repositories/product-option-value.ts @@ -11,8 +11,7 @@ import { SqlEntityManager } from "@mikro-orm/postgresql" export class ProductOptionValueRepository extends DALUtils.mikroOrmBaseRepositoryFactory( ProductOptionValue ) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/product/src/repositories/product-option.ts b/packages/product/src/repositories/product-option.ts index eb1fb4bd5396d..fc4616acd0ed9 100644 --- a/packages/product/src/repositories/product-option.ts +++ b/packages/product/src/repositories/product-option.ts @@ -10,8 +10,7 @@ export class ProductOptionRepository extends DALUtils.mikroOrmBaseRepositoryFact update: ProductTypes.UpdateProductOptionDTO } >(ProductOption) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/product/src/repositories/product-tag.ts b/packages/product/src/repositories/product-tag.ts index 8404d71f69110..e3eae1543c333 100644 --- a/packages/product/src/repositories/product-tag.ts +++ b/packages/product/src/repositories/product-tag.ts @@ -15,8 +15,7 @@ export class ProductTagRepository extends DALUtils.mikroOrmBaseRepositoryFactory update: UpdateProductTagDTO } >(ProductTag) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/product/src/repositories/product-type.ts b/packages/product/src/repositories/product-type.ts index a57a196f9079e..352ff1ace8f6c 100644 --- a/packages/product/src/repositories/product-type.ts +++ b/packages/product/src/repositories/product-type.ts @@ -14,8 +14,7 @@ export class ProductTypeRepository extends DALUtils.mikroOrmBaseRepositoryFactor update: UpdateProductTypeDTO } >(ProductType) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/product/src/repositories/product-variant.ts b/packages/product/src/repositories/product-variant.ts index dbefb77d8e96d..f792a8e3be36f 100644 --- a/packages/product/src/repositories/product-variant.ts +++ b/packages/product/src/repositories/product-variant.ts @@ -15,8 +15,7 @@ export class ProductVariantRepository extends DALUtils.mikroOrmBaseRepositoryFac > } >(ProductVariant) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/product/src/repositories/product.ts b/packages/product/src/repositories/product.ts index 6bb8d3d0f392d..833c61e9d55a4 100644 --- a/packages/product/src/repositories/product.ts +++ b/packages/product/src/repositories/product.ts @@ -24,8 +24,7 @@ export class ProductRepository extends DALUtils.mikroOrmBaseRepositoryFactory< create: WithRequiredProperty } >(Product) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/promotion/src/repositories/application-method.ts b/packages/promotion/src/repositories/application-method.ts index ca71fed0404a7..fd666d995b951 100644 --- a/packages/promotion/src/repositories/application-method.ts +++ b/packages/promotion/src/repositories/application-method.ts @@ -9,8 +9,7 @@ export class ApplicationMethodRepository extends DALUtils.mikroOrmBaseRepository update: UpdateApplicationMethodDTO } >(ApplicationMethod) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/promotion/src/repositories/promotion-rule-value.ts b/packages/promotion/src/repositories/promotion-rule-value.ts index 2858f7ddb1d67..7587fa295c8a1 100644 --- a/packages/promotion/src/repositories/promotion-rule-value.ts +++ b/packages/promotion/src/repositories/promotion-rule-value.ts @@ -12,8 +12,7 @@ export class PromotionRuleValueRepository extends DALUtils.mikroOrmBaseRepositor update: UpdatePromotionRuleValueDTO } >(PromotionRuleValue) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/promotion/src/repositories/promotion-rule.ts b/packages/promotion/src/repositories/promotion-rule.ts index 7fff85daf5bb3..aceb5d33dd211 100644 --- a/packages/promotion/src/repositories/promotion-rule.ts +++ b/packages/promotion/src/repositories/promotion-rule.ts @@ -9,8 +9,7 @@ export class PromotionRuleRepository extends DALUtils.mikroOrmBaseRepositoryFact update: UpdatePromotionRuleDTO } >(PromotionRule) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/promotion/src/repositories/promotion.ts b/packages/promotion/src/repositories/promotion.ts index cc13edf60baa0..c6732c74bad28 100644 --- a/packages/promotion/src/repositories/promotion.ts +++ b/packages/promotion/src/repositories/promotion.ts @@ -9,8 +9,7 @@ export class PromotionRepository extends DALUtils.mikroOrmBaseRepositoryFactory< Update: UpdatePromotionDTO } >(Promotion) { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } diff --git a/packages/utils/src/dal/mikro-orm/mikro-orm-repository.ts b/packages/utils/src/dal/mikro-orm/mikro-orm-repository.ts index f20dbf613112c..da3f18819c337 100644 --- a/packages/utils/src/dal/mikro-orm/mikro-orm-repository.ts +++ b/packages/utils/src/dal/mikro-orm/mikro-orm-repository.ts @@ -76,8 +76,7 @@ export class MikroOrmBase { export class MikroOrmBaseRepository< T extends object = object > extends MikroOrmBase { - // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) } @@ -231,7 +230,7 @@ export function mikroOrmBaseRepositoryFactory< >(entity: EntityClass | EntitySchema) { class MikroOrmAbstractBaseRepository_ extends MikroOrmBaseRepository { // @ts-ignore - constructor(...arguments: any[]) { + constructor(...args: any[]) { // @ts-ignore super(...arguments) }