<?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 can not find &amp;quot;esri/widgets/support/interfaces&amp;quot; in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-not-find-quot-esri-widgets-support-interfaces/m-p/1097432#M74642</link>
    <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I am looking at widgets that are published on github&amp;nbsp;(&lt;A href="https://github.com/Esri/arcgis-js-api/tree/4master/widgets" target="_blank"&gt;https://github.com/Esri/arcgis-js-api/tree/4master/widgets&lt;/A&gt;) to figure out how they work.&lt;/P&gt;&lt;P&gt;in most of widgets , a class named VNode that is not available in index.d.ts file ( made by installing&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;npm install --save @types/arcgis-js-api&lt;/SPAN&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;//&amp;nbsp;esri.widgets.support&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;{&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;VNode&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;}&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;from&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"esri/support/interfaces"&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;and when I import it in my codes,&amp;nbsp; I encounter with a type declaration error.(&lt;SPAN&gt;Cannot find module 'esri/support/interfaces' or its corresponding type declarations)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;how to solve this error?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 11 Sep 2021 17:26:03 GMT</pubDate>
    <dc:creator>MariaGomez06</dc:creator>
    <dc:date>2021-09-11T17:26:03Z</dc:date>
    <item>
      <title>can not find "esri/widgets/support/interfaces"</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-not-find-quot-esri-widgets-support-interfaces/m-p/1097432#M74642</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I am looking at widgets that are published on github&amp;nbsp;(&lt;A href="https://github.com/Esri/arcgis-js-api/tree/4master/widgets" target="_blank"&gt;https://github.com/Esri/arcgis-js-api/tree/4master/widgets&lt;/A&gt;) to figure out how they work.&lt;/P&gt;&lt;P&gt;in most of widgets , a class named VNode that is not available in index.d.ts file ( made by installing&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;npm install --save @types/arcgis-js-api&lt;/SPAN&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;//&amp;nbsp;esri.widgets.support&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;{&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;VNode&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;}&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;from&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"esri/support/interfaces"&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;and when I import it in my codes,&amp;nbsp; I encounter with a type declaration error.(&lt;SPAN&gt;Cannot find module 'esri/support/interfaces' or its corresponding type declarations)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;how to solve this error?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Sep 2021 17:26:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-not-find-quot-esri-widgets-support-interfaces/m-p/1097432#M74642</guid>
      <dc:creator>MariaGomez06</dc:creator>
      <dc:date>2021-09-11T17:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: can not find "esri/widgets/support/interfaces"</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-not-find-quot-esri-widgets-support-interfaces/m-p/1097438#M74643</link>
      <description>&lt;P&gt;Those types are not public and not recommended for users wanting to make custom widgets.&lt;/P&gt;&lt;P&gt;We are in the process of updating the custom widget guides and providing another sample in the next couple of releases.&lt;/P&gt;&lt;P&gt;The widget source code that is on github was only meant for users to get a better idea of how ViewModels are used, not for creating widgets or extending them.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Sep 2021 20:31:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-not-find-quot-esri-widgets-support-interfaces/m-p/1097438#M74643</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2021-09-11T20:31:10Z</dc:date>
    </item>
  </channel>
</rss>

