TypeScript Typings for JavaScript

preview_player
Показать описание
A look at how you can use the ArcGIS API for JavaScript TypeScript Declaration files to provide some Intellisense and code-completion for your JavaScript apps!

Рекомендации по теме
Комментарии
Автор

Rene,

I followed your videos and I was able to get it work, but when I am using intellisense it doesn't compile "watchUtils" it comes out always undefined. It works with everything else but not the Utils. If I go to the compiled file and just erase *2.default it works. Is there a specific way to use it? I really don't want to go back and write code without the intellisense, I would appreciate your help.

Thank you.

NeZhdanchiki
Автор

I am trying this on a ems-local, vanilla JavaScript, vite project where I need the import path to be @arcgis/core/WebMap vs esri/WebMap can your method be tweaked or should I set the initial project up differently?

spatialtech
Автор

your video is good but if you want your videos to be more attractive please stop the music while talking ;)
thanks man

MostafaMohamed-ehon