Skip to content

Commit 6ae4b97

Browse files
committed
DocId type fix
1 parent d37fbd2 commit 6ae4b97

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: src/docId/index.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
class DocId {}
1+
class DocId {
2+
/** Just to not let the class empty, which was causing a typescript bug. */
3+
_metaDocId = 0
4+
}
25

36
/**
47
* A special sentinel to refer to the ID of a document.

0 commit comments

Comments
 (0)