const projectItem = await item.getProjectItem();
export declare type ProjectItem = {
getParent(): Promise<ProjectItem>; //Get the root item of the project which contains all items of the project on the lowest level
getProject(): Promise<Project>; //Get the root item of the project which contains all items of the project on the lowest level.
name: string; //Get name of project item object
};
This function also failed to retrieve the node ID and treePath information, and the type annotations are confusing to me.