A Utility Type for Typescript that can be used to invoke ArcGIS API for JavaScript autocasting in a type-safe way.
For example:
function configureClustering(layer: __esri.FeatureLayer) { layer.featureReduction = { type: "cluster", } as VmcAutoCast<__esri.FeatureReductionCluster>; return layer;}
Generated using TypeDoc
A Utility Type for Typescript that can be used to invoke ArcGIS API for JavaScript autocasting in a type-safe way.
For example: