import { IRequestOptions } from "@esri/arcgis-rest-request" ; import { updateModel } from "./model" ; import { IInitiativeModel } from "@esri/hub-common" ; param model param requestOptions returns { Promise < IInitiativeModel > } export function updateInitiative ( model , requestOptions ) { return updateModel ( model , requestOptions ) as Promise < IInitiativeModel > ; }