From 20cf2d374671175e1ed55c8d937757de84c4065e Mon Sep 17 00:00:00 2001 From: waterplea Date: Fri, 21 Jun 2024 15:53:19 +0500 Subject: [PATCH] chore: make cache private Signed-off-by: waterplea --- client/lib/patch-db.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/lib/patch-db.ts b/client/lib/patch-db.ts index 8d669e9..0587c84 100644 --- a/client/lib/patch-db.ts +++ b/client/lib/patch-db.ts @@ -26,7 +26,7 @@ export class PatchDB { constructor( private readonly source$: Observable[]>, - readonly cache$ = new BehaviorSubject>({ + private readonly cache$ = new BehaviorSubject>({ id: 0, value: {} as T, }),