diff --git a/assets/src/models/createDetourMachine.ts b/assets/src/models/createDetourMachine.ts index dd51714e2..2f17597a7 100644 --- a/assets/src/models/createDetourMachine.ts +++ b/assets/src/models/createDetourMachine.ts @@ -2,9 +2,7 @@ import { setup } from "xstate" export const createDetourMachine = setup({ types: {} as { - events: - | { type: "detour.edit.done" } - | { type: "detour.edit.resume" } + events: { type: "detour.edit.done" } | { type: "detour.edit.resume" } }, }).createMachine({ id: "Detours Machine",