Add the public documentItem property to an API object: a getter, so the root is still only built when it is first read. Added after the API is assembled, since Object.assign would read (and so build) it.
documentItem
The assembled API object
The same object
Add the public
documentItemproperty to an API object: a getter, so the root is still only built when it is first read. Added after the API is assembled, since Object.assign would read (and so build) it.