import { IPeoplePicker } from "../../@types/lib" ; import { ITargetInfoProps } from "../../@types/utils" ; import { Base , Request } from "../utils" ; /**
 * People Picker
 */ export const PeoplePicker = ( ( targetInfo ? ) => { let peoplePicker = new Base ( targetInfo ) ; peoplePicker . targetInfo . defaultToWebFl = true ; peoplePicker . targetInfo . endpoint = "SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface" ; peoplePicker . targetInfo . overrideDefaultRequestToHostFl = true ; Request . addMethods ( peoplePicker , { __metadata : { type : "peoplepicker" } } ) ; return peoplePicker ; } ) as any ;