Hi,
In some cases it is not clear to me where I should get the types for using the SDK. For instance, if I want to type an object as being properties that can be used to define a Featurelayer, I cannot find this type in the SDK reference shown here:
FeatureLayer | API Reference | ArcGIS Maps SDK for JavaScript 4.32 | Esri Developer
However, I've seen people using the namespace "__esri" to access interfaces, and here I can find the interface __esri.FeatureLayerProperties which suits my needs.
Is it recommended to use interfaces and types from "__esri" or not?