<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic AbortSignal Error with @types/arcgis-js-api 4.9 and esri-loader 2.5 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/abortsignal-error-with-types-arcgis-js-api-4-9-and/m-p/610507#M57124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm working in a project withAngular 5, i was working with this libraries in the versions:&lt;/P&gt;&lt;P&gt;@types/arcgi-js-api 4.6&lt;/P&gt;&lt;P&gt;esri-loader 2.3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And everything was worked fine until i updated it to versions:&lt;/P&gt;&lt;P&gt;@types/arcgi-js-api 4.9&lt;/P&gt;&lt;P&gt;esri-loader 2.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting this error message with not a clue when deploying with "ng serve":&lt;/P&gt;&lt;P&gt;ERROR in node_modules/@types/arcgis-js-api/index.d.ts(26317,14): error TS2304: Cannot find name 'AbortSignal'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i solve this issue?&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Oct 2018 21:41:54 GMT</pubDate>
    <dc:creator>DanielBula1</dc:creator>
    <dc:date>2018-10-03T21:41:54Z</dc:date>
    <item>
      <title>AbortSignal Error with @types/arcgis-js-api 4.9 and esri-loader 2.5</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/abortsignal-error-with-types-arcgis-js-api-4-9-and/m-p/610507#M57124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm working in a project withAngular 5, i was working with this libraries in the versions:&lt;/P&gt;&lt;P&gt;@types/arcgi-js-api 4.6&lt;/P&gt;&lt;P&gt;esri-loader 2.3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And everything was worked fine until i updated it to versions:&lt;/P&gt;&lt;P&gt;@types/arcgi-js-api 4.9&lt;/P&gt;&lt;P&gt;esri-loader 2.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting this error message with not a clue when deploying with "ng serve":&lt;/P&gt;&lt;P&gt;ERROR in node_modules/@types/arcgis-js-api/index.d.ts(26317,14): error TS2304: Cannot find name 'AbortSignal'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i solve this issue?&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 21:41:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/abortsignal-error-with-types-arcgis-js-api-4-9-and/m-p/610507#M57124</guid>
      <dc:creator>DanielBula1</dc:creator>
      <dc:date>2018-10-03T21:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: AbortSignal Error with @types/arcgis-js-api 4.9 and esri-loader 2.5</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/abortsignal-error-with-types-arcgis-js-api-4-9-and/m-p/610508#M57125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure what version of TypeScript is being used by that version of angular-cli, but you may need to update it. I'm not sure when the AbortController and AbortSignal types were added to TS, but try to upgrade it and see if that works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The repo that has the typings lists TS 2.7 as a minimum.&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/jsapi-resources/tree/master/4.x/typescript" title="https://github.com/Esri/jsapi-resources/tree/master/4.x/typescript"&gt;jsapi-resources/4.x/typescript at master · Esri/jsapi-resources · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2018 14:42:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/abortsignal-error-with-types-arcgis-js-api-4-9-and/m-p/610508#M57125</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2018-10-04T14:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: AbortSignal Error with @types/arcgis-js-api 4.9 and esri-loader 2.5</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/abortsignal-error-with-types-arcgis-js-api-4-9-and/m-p/610509#M57126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are unfamiliar with &lt;A href="https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal"&gt;AbortSignal&lt;/A&gt;, it's a way that you can cancel requests. It's an &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-request.html#RequestOptions"&gt;option to esri/request&lt;/A&gt;. I'm not sure how useful it is for users of the API, but we use it internally to do things like abort requests for tiles when you might zoom on before they have been returned. It's fairly low level, but interesting nonetheless.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2018 14:52:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/abortsignal-error-with-types-arcgis-js-api-4-9-and/m-p/610509#M57126</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2018-10-04T14:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: AbortSignal Error with @types/arcgis-js-api 4.9 and esri-loader 2.5</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/abortsignal-error-with-types-arcgis-js-api-4-9-and/m-p/610510#M57127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I checked the page describing AbortSignal, and at the very top of the page is this warning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #fff3d4; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;This is an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developer.mozilla.org/en-US/docs/MDN/Contribute/Guidelines/Conventions_definitions#Experimental" style="color: #3d7e9a; border: 0px; text-decoration: none;"&gt;experimental technology&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR style="color: #333333; background-color: #fff3d4;" /&gt;&lt;SPAN style="color: #333333; background-color: #fff3d4;"&gt;Check the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal#Browser_compatibility" style="color: #3d7e9a; background-color: #fff3d4; border: 0px; text-decoration: none;"&gt;Browser compatibility table&lt;/A&gt;&lt;SPAN style="color: #333333; background-color: #fff3d4;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;carefully before using this in production.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;I am having a similar issue to the original poster, but not because my Typescript version is out of date (we are using 3.1.3), but I think it is because we are targeting ES5 to try to maintain at least marginal IE11 support.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Are there any known work arounds or shims for AbortSignal so that we can continue targeting ES5?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;**EDIT**&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Sorry for this mixup, we were actually using an older typscript version. Visual Studio Code was using 3.1.3, but our project was referencing version 2.3&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 21:51:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/abortsignal-error-with-types-arcgis-js-api-4-9-and/m-p/610510#M57127</guid>
      <dc:creator>TJRockefeller</dc:creator>
      <dc:date>2018-10-19T21:51:08Z</dc:date>
    </item>
  </channel>
</rss>

