import { IHubSitesUtility } from "../../@types/lib" ; import { ITargetInfoProps } from "../../@types/utils" ; import { Base , Request } from "../utils" ; /**
 * Hub Sites Utility
 */ export const HubSitesUtility = ( ( targetInfo ? ) => { let utility = new Base ( targetInfo ) ; utility . targetInfo . defaultToWebFl = true ; utility . targetInfo . endpoint = "hubsitesutility" ; Request . addMethods ( utility , { __metadata : { type : "Microsoft.SharePoint.Portal.SPHubSitesUtility" } } ) ; return utility ; } ) as any as IHubSitesUtility ;