We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7010843 commit 7d93c98Copy full SHA for 7d93c98
packages/workflow/src/workflow.ts
@@ -765,9 +765,7 @@ export async function executeChild<T extends () => WorkflowReturnType>(
765
*
766
* @return The result of the child Workflow.
767
*/
768
-export async function executeChild<T extends () => WorkflowReturnType>(
769
- workflowFunc: T
770
-): Promise<ChildWorkflowHandle<T>>;
+export async function executeChild<T extends () => WorkflowReturnType>(workflowFunc: T): Promise<WorkflowResultType<T>>;
771
772
export async function executeChild<T extends Workflow>(
773
workflowTypeOrFunc: string | T,
0 commit comments