laptop and a wrench

Bogue

The TypeScript typing for the Collection class in ArcGIS Maps SDK for JavaScript does not reflect the correct type for an undefined value.

ArcGIS Maps SDK for JavaScript
Numéro d’ID de bogue BUG-000170691
EnvoiSeptember 11, 2024
Dernière modificationDecember 6, 2024
S’applique àArcGIS Maps SDK for JavaScript
Version trouvée4.30
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutUnder Consideration

Solution de contournement

This issue can be fixed with a local type override. Example:

declare namespace __esri { interface Collection { find(callback: __esri.ItemTestCallback): T | undefined; } }

This correctly signifies the types.

Étapes pour reproduire

ID de bogue: BUG-000170691

Logiciel:

  • ArcGIS Maps SDK for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement