File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ import { Connection, WorkflowService } from './connection';
67
67
* await handle.result(); // throws WorkflowExecutionCancelledError
68
68
* ```
69
69
*/
70
- export interface WorkflowHandle < T extends Workflow > extends BaseWorkflowHandle < T > {
70
+ export interface WorkflowHandle < T extends Workflow = Workflow > extends BaseWorkflowHandle < T > {
71
71
/**
72
72
* Query a running or completed Workflow.
73
73
*
@@ -106,7 +106,7 @@ export interface WorkflowHandle<T extends Workflow> extends BaseWorkflowHandle<T
106
106
* This interface is exactly the same as {@link WorkflowHandle} except it
107
107
* includes the `originalRunId` returned after starting a new Workflow.
108
108
*/
109
- export interface WorkflowHandleWithRunId < T extends Workflow > extends WorkflowHandle < T > {
109
+ export interface WorkflowHandleWithRunId < T extends Workflow = Workflow > extends WorkflowHandle < T > {
110
110
/**
111
111
* The runId of the initial run of the bound Workflow
112
112
*/
@@ -195,7 +195,7 @@ export interface WorkflowResultOptions {
195
195
/**
196
196
* Options for starting a Workflow
197
197
*/
198
- export type WorkflowStartOptions < T extends Workflow > = WithWorkflowArgs < T , WorkflowOptions > ;
198
+ export type WorkflowStartOptions < T extends Workflow = Workflow > = WithWorkflowArgs < T , WorkflowOptions > ;
199
199
200
200
/**
201
201
* Client for starting Workflow executions and creating Workflow handles
You can’t perform that action at this time.
0 commit comments