summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsko Nõmm <asko@nmm.ee>2025-04-20 15:45:28 +0300
committerAsko Nõmm <asko@nmm.ee>2025-04-20 15:45:28 +0300
commitd7e3bfbc51b39b4bffac53313c6bff8411237e86 (patch)
treec1f3d14ffc2260f95534fe43e1b51d7d95e5883e
parent24cc751651fcf47e57530d0c0aff536d0e4eb7c7 (diff)
Improve doc
-rw-r--r--README.md4
1 files 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