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