diff --git a/packages/modules/stock-location/src/index.ts b/packages/modules/stock-location/src/index.ts index d0cc3ca12b6da..51afbd3a2e535 100644 --- a/packages/modules/stock-location/src/index.ts +++ b/packages/modules/stock-location/src/index.ts @@ -1,7 +1,6 @@ +import { Module, Modules } from "@medusajs/framework/utils" import { StockLocationModuleService } from "@services" -import { ModuleExports } from "@medusajs/framework/types" -const moduleDefinition: ModuleExports = { +export default Module(Modules.STOCK_LOCATION, { service: StockLocationModuleService, -} -export default moduleDefinition +})