Class: Document<T>
A document is just a special text node with a docId.
Type parameters
Name | Type |
---|---|
T | extends Metadata = Metadata |
Hierarchy
-
TextNode
<T
>↳
Document
Constructors
constructor
• new Document<T
>(init?
): Document
<T
>
Type parameters
Name | Type |
---|---|
T | extends Metadata = Metadata |
Parameters
Name | Type |
---|---|
init? | Partial <Document <T >> |