import { IRemoveGroupUsersResult } from "@esri/arcgis-rest-portal" ; import { IAuthenticationManager } from "@esri/arcgis-rest-request" ; import { removeUsersFromTeam } from "./remove-users-from-team" ; export param { string [ ] } teamIds param { string [ ] } usernames param { IAuthenticationManager } ro return { * } export async function removeUsersFromTeams ( teamIds , usernames , ro ) { return Promise . all ( teamIds . map ( ( id ) => removeUsersFromTeam ( id , usernames , ro ) ) ) ; }