Esri / jsapi-resources

A collection of resources for developers using the ArcGIS Maps SDK for JavaScript.
https://developers.arcgis.com/javascript/latest/
Apache License 2.0
707 stars 559 forks source link

Accessor interface not updated with new handle methods #453

Closed COV-GIS closed 1 year ago

COV-GIS commented 1 year ago

Accessor addHandles, etc. didn't get added in 4.25 @arcgis/core interface.d.ts or here.

andygup commented 1 year ago

Thanks @COV-GIS for letting us know, I'll open an issue to get it added in a next release. One approach for now is to use a // @ts-expect-error comment on the line above the error. That way you can build successfully, and then you'll get a build error letting you when the fix is in.

andygup commented 1 year ago

@COV-GIS we missed the window to add these to 4.25. However, you can verify that addHandles(), removeHandles() and hasHandles() are now available via @arcgis/core@next and arcgis-js-api@next. Thanks again, I'll close this out.