From e011aedc2f51d8e2b11d40ad478896230e5fb08a Mon Sep 17 00:00:00 2001 From: Siddhartha Date: Mon, 30 Oct 2023 07:12:13 -0700 Subject: [PATCH] Remove the warning for mobx internals. Remove the warning for mobx internals. --- packages/core/src/doc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/doc.ts b/packages/core/src/doc.ts index 054a80c..d21f04b 100644 --- a/packages/core/src/doc.ts +++ b/packages/core/src/doc.ts @@ -44,7 +44,7 @@ function getYjsByTypeDescription(doc: Y.Doc, typeD let description = typeDescription[p]; if (!description) { // exclude expected Vue Reactive checks from logging a warning - if (p !== "__v_raw" && p !== "__v_isRef" && p !== "__v_isReadonly") { + if (p !== "__v_raw" && p !== "__v_isRef" && p !== "__v_isReadonly" && p != "$$typeof") { console.warn("property not found on root doc", p); } return undefined;