import { IPeopleManager } from "../../@types/lib" ; import { ITargetInfoProps } from "../../@types/utils" ; import { Base , Request } from "../utils" ; /**
 * People Manager
 */ export const PeopleManager = ( ( targetInfo ? ) => { let peopleManager = new Base ( targetInfo ) ; peopleManager . targetInfo . defaultToWebFl = true ; peopleManager . targetInfo . endpoint = "sp.userprofiles.peoplemanager" ; Request . addMethods ( peopleManager , { __metadata : { type : "SP.UserProfiles.PeopleManager" } } ) ; return peopleManager ; } ) as any ;