Skip to content

Commit

Permalink
DocId type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ftzi committed Nov 11, 2021
1 parent d37fbd2 commit 6ae4b97
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/docId/index.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 6ae4b97

Please sign in to comment.