diff --git a/www/utils/packages/typedoc-plugin-workflows/src/utils/helper.ts b/www/utils/packages/typedoc-plugin-workflows/src/utils/helper.ts index 32c537eeec..e3b9bcb1cf 100644 --- a/www/utils/packages/typedoc-plugin-workflows/src/utils/helper.ts +++ b/www/utils/packages/typedoc-plugin-workflows/src/utils/helper.ts @@ -173,7 +173,7 @@ export default class Helper { }): string { let str = `import { ${workflowName} } from "@medusajs/core-flows"\n\n` - str += `${workflowName}.hooks.${hookName}(\n\tasync (({` + str += `${workflowName}.hooks.${hookName}(\n\t(async ({` if ( parameter.type?.type === "reference" &&