From d2cf9036335ca0ca3d84a581b81a4c3bc5cfab0e Mon Sep 17 00:00:00 2001 From: dfahlander Date: Sun, 28 Jul 2024 12:21:43 +0200 Subject: [PATCH] Don't expose the WeakRef type in public API (would be a breaking typings change) --- src/public/index.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/public/index.d.ts b/src/public/index.d.ts index e00df1a5d..69ec2b3ea 100644 --- a/src/public/index.d.ts +++ b/src/public/index.d.ts @@ -73,7 +73,6 @@ declare var DexieYProvider: { (doc: DucktypedYDoc): DexieYProvider; new (doc: DucktypedYDoc): DexieYProvider; getDocCache: (db: Dexie) => { - cache: { [key: string]: WeakRef }; readonly size: number; find: (updatesTable: string, parentId: any) => DucktypedYDoc | undefined; add: (doc: DucktypedYDoc) => void;