diff --git a/packages/framework/src/client.ts b/packages/framework/src/client.ts index e760163670a..78fb105f6c2 100644 --- a/packages/framework/src/client.ts +++ b/packages/framework/src/client.ts @@ -104,7 +104,7 @@ export class Client { * * @param workflows - The workflows to add. */ - public async addWorkflows(workflows: Array): Promise { + public async addWorkflows(workflows: Array>): Promise { for (const workflow of workflows) { if (this.discoveredWorkflows.has(workflow.id)) { continue; @@ -124,7 +124,7 @@ export class Client { } } - private async addWorkflow(workflow: Workflow): Promise { + private async addWorkflow(workflow: Workflow): Promise { try { const definition = await workflow.discover(); prettyPrintDiscovery(definition);