1
2
3
4
5
6
7
8
9
import { comments } from "https://esm.town/v/vtdocs/comments";
export const appendToComments = (
// the Run API accepts any number of JSON-encoded args
// here we accept a single arg
data: any,
) => {
comments.push(data);
};