Closed ARUpw21 closed 1 month ago
Hi. Unfortunately this is just out of date documentation. We no longer return IItemAddResult from our requests. We just return the response back from the APIs.
We will update the documentation.
This issue is locked for inactivity or age. If you have a related issue please open a new issue and reference this one. Closed issues are not tracked.
What version of PnPjs library you are using
4.x
Minor Version Number
0.1
Target environment
All
Additional environment details
I'm running: nvm: 1.1.10 node 18.20.2 SPFx: 1.19
Question/Request
As per the documentation, https://pnp.github.io/pnpjs/sp/items/#add-items, I am trying to import IItemAddResult for use when adding an item to a SharePoint list.
However, on the code:
import { IItemAddResult } from "@pnp/sp/items";
I get the error: Module '"@pnp/sp/items"' has no exported member 'IItemAddResult'.