File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ It will create a symbolic link from globally-installed `sdk-typescript` to `node
52
52
#### Create Workflow using builder API
53
53
54
54
``` typescript
55
- const workflow: ServerlessWorkflow .Workflow = workflowBuilder ()
55
+
56
+ const workflow: Specification .Workflow = workflowBuilder ()
56
57
.id (" helloworld" )
57
58
.version (" 1.0" )
58
59
.name (" Hello World Workflow" )
@@ -73,7 +74,7 @@ const workflow: ServerlessWorkflow.Workflow = workflowBuilder()
73
74
#### Create Workflow using object literals
74
75
75
76
``` typescript
76
- const workflow: ServerlessWorkflow .Workflow = {
77
+ const workflow: Specification .Workflow = {
77
78
id: ' helloworld' ,
78
79
version: ' 1.0' ,
79
80
name: ' Hello World Workflow' ,
@@ -87,7 +88,7 @@ const workflow: ServerlessWorkflow.Workflow = {
87
88
data: {
88
89
result: " Hello World!"
89
90
}
90
- } as ServerlessWorkflow .Injectstate
91
+ } as Specification .Injectstate
91
92
]
92
93
};
93
94
```
You can’t perform that action at this time.
0 commit comments