From d7e3bfbc51b39b4bffac53313c6bff8411237e86 Mon Sep 17 00:00:00 2001 From: Asko Nõmm Date: Sun, 20 Apr 2025 15:45:28 +0300 Subject: Improve doc --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 45563ce..a07c542 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ app.subscribe("$.counter", (state) => { }; }); -app.subscribe("request", (state) => { +app.subscribe<[]>("request", (state) => { return { state: { ...state, @@ -40,7 +40,7 @@ app.dispatch("request"); ## Installation -[ShapeX is available via JSR](https://jsr.io/@shapex/shapex), so check that out for the installation instructions for any given runtime. +ShapeX is available via [JSR](https://jsr.io/@shapex/shapex) for Node, Deno, Bun, Cloudflare Workers and browsers. ## Documentation -- cgit v1.2.3