Skip to content

Commit 32d3e57

Browse files
committed
README fix
- replaced 'ServerlessWorkflow' by 'Specification' Signed-off-by: JBBianchi <[email protected]>
1 parent 296865f commit 32d3e57

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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
```

0 commit comments

Comments
 (0)