diff --git a/src/extensions/renderer-api/catalog.ts b/src/extensions/renderer-api/catalog.ts index e80533d0c3..389107c80d 100644 --- a/src/extensions/renderer-api/catalog.ts +++ b/src/extensions/renderer-api/catalog.ts @@ -51,7 +51,7 @@ export class CatalogEntityRegistry { } /** - * Add a onRun hook to a catalog entity. If `onBeforeRun` was previously added then it will not be added again + * Add a onBeforeRun hook to a catalog entity. If `onBeforeRun` was previously added then it will not be added again * @param catalogEntityUid The uid of the catalog entity * @param onBeforeRun The function that should return a boolean if the onRun of catalog entity should be triggered. * @returns A function to remove that hook diff --git a/src/renderer/api/catalog-entity-registry.ts b/src/renderer/api/catalog-entity-registry.ts index a7dc280d2d..f9c59fce09 100644 --- a/src/renderer/api/catalog-entity-registry.ts +++ b/src/renderer/api/catalog-entity-registry.ts @@ -179,7 +179,7 @@ export class CatalogEntityRegistry { } /** - * Add a onRun hook to a catalog entity. If `onBeforeRun` was previously added then it will not be added again + * Add a onBeforeRun hook to a catalog entity. If `onBeforeRun` was previously added then it will not be added again * @param catalogEntityUid The uid of the catalog entity * @param onBeforeRun The function that should return a boolean if the onRun of catalog entity should be triggered. * @returns A function to remove that hook