Hello,
I'm trying to utilize Angular CLI with the with newest version of the JS API (4.9) along with Typescript and @types/arcgis-js-api (4.9.0). I'm running into a build issue that can be repeated on multiple machines. There appears to an issue with the "AbortSignal" variable in the typescript definition file. Here is the error thrown:
I can get around this issue by commenting out the AbortSignal variable in the definition file:
However, this doesn't help during automated builds.
Is this a bug with typescript definition file? Any suggestions would be greatly appreciated.
Thank you,
Solved! Go to Solution.
Try updating to the latest version of TypeScript in your application per this post in this thread.
I think the ng-cli comes with an older version of TS by default.
Try updating to the latest version of TypeScript in your application per this post in this thread.
I think the ng-cli comes with an older version of TS by default.
That worked to upgrade to Typescript 2.9 and Angular CLI version 6.x.
Thank you!