From 6ae4b9778cc7e1300abdd82cf87478122c2f9543 Mon Sep 17 00:00:00 2001 From: Henrique Bruno Date: Thu, 11 Nov 2021 01:37:55 -0300 Subject: [PATCH] DocId type fix --- src/docId/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/docId/index.ts b/src/docId/index.ts index 1378ad8a..7e08fc80 100644 --- a/src/docId/index.ts +++ b/src/docId/index.ts @@ -1,4 +1,7 @@ -class DocId {} +class DocId { + /** Just to not let the class empty, which was causing a typescript bug. */ + _metaDocId = 0 +} /** * A special sentinel to refer to the ID of a document.