Skip to content

Commit

Permalink
Added changeset for inline implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpocock committed Mar 3, 2022
1 parent 102164f commit a1c9de6
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .changeset/three-poems-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
"stately-vscode": minor
---

Allowed for parsing and rewriting inline implementations in the VSCode extension. This allows you to use either named actions (which were already supported):

```ts
createMachine({
entry: ["sayHello"],
});
```

Or inline actions:

```ts
createMachine({
entry: [
() => {
console.log("Hello!");
},
],
});
```

Both can now be handled in the VSCode extension. This is true for inline actions, services and guards.

0 comments on commit a1c9de6

Please sign in to comment.