From 939edc645af268dce73a9b8eb2fd16c4742b124f Mon Sep 17 00:00:00 2001 From: Richard Date: Tue, 11 Jun 2024 16:53:48 -0700 Subject: [PATCH] docs: add client/server tags --- src/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.d.ts b/src/index.d.ts index 6df73b0..4c4cbbf 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -196,6 +196,7 @@ declare namespace Charm { * Creates a `ClientSyncer` object that receives patches from the server and * applies them to the local state. * + * @client * @param options The atoms to synchronize with the server. * @returns A `ClientSyncer` object. */ @@ -204,6 +205,7 @@ declare namespace Charm { * Creates a `ServerSyncer` object that sends patches to the client and * hydrates the client's state. * + * @server * @param options The atoms to synchronize with the client. * @returns A `ServerSyncer` object. */