Type Alias UsjNodeAndDocumentLocation<TDocumentLocation>
Node in a USJ object (including the top-level Usj object) and its location in the document. You
must make sure you only add nodes that correspond to the appropriate type of
UsjDocumentLocation (e.g. if documentLocation is a UsjTextContentLocation, node must
be a text content string)
You can specify a particular kind of UsjDocumentLocation in the generic type
TDocumentLocation, and that will narrow documentLocation to that specific kind of location.
Node in a USJ object (including the top-level Usj object) and its location in the document. You must make sure you only add
nodes that correspond to the appropriate type ofUsjDocumentLocation(e.g. ifdocumentLocationis a UsjTextContentLocation,nodemust be a text content string)You can specify a particular kind of
UsjDocumentLocationin the generic typeTDocumentLocation, and that will narrowdocumentLocationto that specific kind of location.