import { Counter } from "https://deno.land/x/automerge@2.2.0/next.ts";
Decreases the value of the counter by delta
. If delta
is not given,
decreases the value of the counter by 1.
Will throw an error if used outside of a change callback.
import { Counter } from "https://deno.land/x/automerge@2.2.0/next.ts";
Decreases the value of the counter by delta
. If delta
is not given,
decreases the value of the counter by 1.
Will throw an error if used outside of a change callback.