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
5252#### Create Workflow using builder API
5353
5454``` typescript
55- const workflow: ServerlessWorkflow .Workflow = workflowBuilder ()
55+
56+ const workflow: Specification .Workflow = workflowBuilder ()
5657 .id (" helloworld" )
5758 .version (" 1.0" )
5859 .name (" Hello World Workflow" )
@@ -73,7 +74,7 @@ const workflow: ServerlessWorkflow.Workflow = workflowBuilder()
7374#### Create Workflow using object literals
7475
7576``` typescript
76- const workflow: ServerlessWorkflow .Workflow = {
77+ const workflow: Specification .Workflow = {
7778 id: ' helloworld' ,
7879 version: ' 1.0' ,
7980 name: ' Hello World Workflow' ,
@@ -87,7 +88,7 @@ const workflow: ServerlessWorkflow.Workflow = {
8788 data: {
8889 result: " Hello World!"
8990 }
90- } as ServerlessWorkflow .Injectstate
91+ } as Specification .Injectstate
9192 ]
9293};
9394```
You can’t perform that action at this time.
0 commit comments