From 1a9481066ad2fc02ebe1fb6a2e37ab30918bc065 Mon Sep 17 00:00:00 2001 From: Asko Nõmm Date: Mon, 21 Apr 2025 12:03:36 +0300 Subject: Refactor dispatch parameter naming from 'withData' to 'with' for consistency --- src/shapex.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shapex.test.ts') diff --git a/src/shapex.test.ts b/src/shapex.test.ts index 5c555b0..55e38ae 100644 --- a/src/shapex.test.ts +++ b/src/shapex.test.ts @@ -161,7 +161,7 @@ describe("dispatch", () => { $.subscribe("parent-event", (state) => ({ state, - dispatch: { to: "nested-event", withData: "arg-value" }, + dispatch: { to: "nested-event", with: "arg-value" }, })); $.dispatch("parent-event"); -- cgit v1.2.3