docs: fix type in module path (#8011)

This commit is contained in:
Shahed Nasser
2024-07-08 19:15:29 +03:00
committed by GitHub
parent 10848c8bf2
commit 0c8730cdd3

View File

@@ -48,7 +48,7 @@ A module must have an `index.ts` file in its root directory that exports its def
For example, create the file `src/modules/hello/index.ts` with the following content:
```ts title="src/modules/hello.index.ts" highlights={[["5", "", "The main service of the module."]]}
```ts title="src/modules/hello/index.ts" highlights={[["5", "", "The main service of the module."]]}
import HelloModuleService from "./service"
import { Module } from "@medusajs/utils"