import { getGroup } from "@esri/arcgis-rest-portal" ; import { IGroup } from "@esri/arcgis-rest-portal" ; import { IHubRequestOptions } from "@esri/hub-common" ; param { string } id param { IRequestOptions } hubRequestOptions returns { Promise < IGroup > } export function getTeamById ( id , hubRequestOptions ) { return getGroup ( id , hubRequestOptions ) ; }