Created
January 3, 2024 18:39
-
-
Save SandroMaglione/f4b8082e57392439c9d3cf4a35c5800c to your computer and use it in GitHub Desktop.
Revisions
-
SandroMaglione created this gist
Jan 3, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ import { setup } from "xstate"; const machine = setup({ types: { context: {} as {}, events: {} as { readonly type: "event"; readonly params: {} }, }, actions: {}, }).createMachine({ id: "machine", context: {}, initial: "Init", states: { Init: {}, }, });