From 588e08f6c3ddc1b599417c0b40cccc9fbe532476 Mon Sep 17 00:00:00 2001 From: Juho Heikka Date: Thu, 7 Oct 2021 18:24:23 +0300 Subject: [PATCH] Update catalog API comment Co-authored-by: Sebastian Malton Signed-off-by: Juho Heikka --- src/extensions/renderer-api/catalog.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extensions/renderer-api/catalog.ts b/src/extensions/renderer-api/catalog.ts index 3a18bd24a8..e329847e85 100644 --- a/src/extensions/renderer-api/catalog.ts +++ b/src/extensions/renderer-api/catalog.ts @@ -53,7 +53,7 @@ export class CatalogEntityRegistry { /** * Add a onBeforeRun hook to a catalog entities. If `onBeforeRun` was previously * added then it will not be added again. - * @param onBeforeRun The function will receive the catalog run event as a parameter. + * @param onBeforeRun The function to be called with a `CatalogRunEvent` * event target will be the catalog entity. onBeforeRun hook can call event.preventDefault() * to stop run sequence * @returns A function to remove that hook