<?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 Re: Referencing components with TypeScript in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1597481#M86736</link>
    <description>&lt;P&gt;Works fine for me, but I'm using VSCode. My module versions:&lt;/P&gt;&lt;LI-CODE lang="css"&gt;PS C:\js_react_test\map-component-sample-react&amp;gt; npm list --depth=0
map-components-react-sample@ C:\js_react_test\map-component-sample-react
├── &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/642472"&gt;@ArcGIS&lt;/a&gt;/core@4.32.9
├── &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/642472"&gt;@ArcGIS&lt;/a&gt;/map-components@4.32.12
├── @esri/calcite-components@3.0.3&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You say it recognizes that &lt;SPAN&gt;HTMLArcgisSceneElement type exists and it shows when you hover over .map, so it's probably an IDE problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would suggest updating IntelliJ and node. If your IDE uses external typescript installation to check types while you code, update that too.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Mar 2025 13:35:34 GMT</pubDate>
    <dc:creator>Edvinas_S</dc:creator>
    <dc:date>2025-03-20T13:35:34Z</dc:date>
    <item>
      <title>Referencing components with TypeScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1596649#M86725</link>
      <description>&lt;P&gt;I'm beginning the process of reworking some JS apps to use the new components framework and am running into issues with TypeScript typings. The simple example shown in the docs for the Scene component shows this bit of code:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const arcgisScene = document.querySelector("arcgis-scene");
arcgisScene.addEventListener("arcgisViewReadyChange", () =&amp;gt; {
  const layer = new GraphicsLayer({ title: "My layer"});
  arcgisScene.map.add(layer);
});&lt;/LI-CODE&gt;&lt;DIV class=""&gt;&lt;P&gt;If I try to copy this exactly using TypeScript, my IDE (IntelliJ) can't find the arcgisScene.map property. I've installed the modules with npm, and my code looks like this:&lt;/P&gt;&lt;/DIV&gt;&lt;LI-CODE lang="javascript"&gt;import "@arcgis/map-components/components/arcgis-scene";

function loadMap(): void {
    const arcgisScene = document.querySelector("arcgis-scene");
    arcgisScene!.addEventListener("arcgisViewReadyChange", () =&amp;gt; {
        const layer = new GraphicsLayer({ title: "My layer"});
        arcgisScene!.map.add(layer);
    });
}&lt;/LI-CODE&gt;&lt;P&gt;In the IDE, I can see that TS is inferring that arcgisScene is of the type HTMLArcgisSceneElement | null, but it can't find the map property.&lt;/P&gt;&lt;P&gt;However, if I explicitly define the type of arcgisScene as HTMLArcgisSceneElement | null, the IDE can find the map property when I hover over it, but it still gives me the "Property map does not exist on type HTMLArcgisSceneElement" error.&lt;/P&gt;&lt;P&gt;The app does seem to work once everything is compiled to JavaScript and bundled, but I'd like to fix the IDE errors if possible&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 16:41:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1596649#M86725</guid>
      <dc:creator>micsova</dc:creator>
      <dc:date>2025-03-18T16:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing components with TypeScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1597274#M86731</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Your code snippets look correct – I do not see a typescript error on my side when I try this snippet.&lt;BR /&gt;It is possible that there is something with the typescript configuration you have.&lt;BR /&gt;Could you please share which configuration you are using and what exact version of&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/642472"&gt;@ArcGIS&lt;/a&gt;/map-components and typescript you have installed?&lt;BR /&gt;&lt;BR /&gt;For reference, I am using the following configuration:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
    "compilerOptions": {
        "allowUnreachableCode": false,
        "noImplicitOverride": true,
        "noImplicitReturns": true,
        "noUnusedLocals": true,
        "noUnusedParameters": true,
        "strict": true,
        "module": "esnext",
        "moduleResolution": "bundler",
        "resolveJsonModule": true,
        "declaration": true,
        "newLine": "lf",
        "importHelpers": true,
        "noEmitOnError": true,
        "outDir": "./dist",
        "allowJs": false,
        "esModuleInterop": true,
        "isolatedModules": true,
        "experimentalDecorators": true,
        "jsx": "react",
        "jsxFactory": "h",
        "jsxFragmentFactory": "Fragment",
        "lib": [
            "dom",
            "dom.iterable",
            "esnext"
        ],
        "target": "es2022",
        "useDefineForClassFields": false,
        "skipLibCheck": false,
        "noEmit": true,
        "allowSyntheticDefaultImports": true,
        "resolvePackageJsonExports": true,
        "resolvePackageJsonImports": true,
        "preserveConstEnums": true,
        "noImplicitAny": true,
        "noImplicitThis": true,
        "strictNullChecks": true,
        "strictFunctionTypes": true,
        "strictBindCallApply": true,
        "strictPropertyInitialization": true,
        "strictBuiltinIteratorReturn": true,
        "alwaysStrict": true,
        "useUnknownInCatchVariables": true
    },
    "include": [
        "src",
        "*.ts"
    ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 20:05:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1597274#M86731</guid>
      <dc:creator>mpatiiuk</dc:creator>
      <dc:date>2025-03-19T20:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing components with TypeScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1597481#M86736</link>
      <description>&lt;P&gt;Works fine for me, but I'm using VSCode. My module versions:&lt;/P&gt;&lt;LI-CODE lang="css"&gt;PS C:\js_react_test\map-component-sample-react&amp;gt; npm list --depth=0
map-components-react-sample@ C:\js_react_test\map-component-sample-react
├── &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/642472"&gt;@ArcGIS&lt;/a&gt;/core@4.32.9
├── &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/642472"&gt;@ArcGIS&lt;/a&gt;/map-components@4.32.12
├── @esri/calcite-components@3.0.3&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You say it recognizes that &lt;SPAN&gt;HTMLArcgisSceneElement type exists and it shows when you hover over .map, so it's probably an IDE problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would suggest updating IntelliJ and node. If your IDE uses external typescript installation to check types while you code, update that too.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 13:35:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1597481#M86736</guid>
      <dc:creator>Edvinas_S</dc:creator>
      <dc:date>2025-03-20T13:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing components with TypeScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1607803#M86981</link>
      <description>&lt;P&gt;I'm actually using VSCode as well but I'm using &lt;A href="mailto:Vite@latest" target="_blank"&gt;Vite@latest&lt;/A&gt;&amp;nbsp;to setup the app initially.&amp;nbsp; With that I'm actually trying to use react 19 with the web components and I'm getting similar issues as far as type issues.&amp;nbsp; For instance. I'm using this code in a react component.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const handleArcgisViewReadyStateChange = (event: TargetedEvent&amp;lt;HTMLArcgisMapElement, void&amp;gt;) =&amp;gt; {
    const { portalItem } = event.target.map
    console.log(portalItem.title)
  }

&amp;lt;arcgis-map
          item-id="5d2b522afda8457c9a00c4773c1648e6"
          onarcgisViewReadyChange={handleArcgisViewReadyStateChange}
        &amp;gt;
          &amp;lt;arcgis-home position='top-left'&amp;gt;&amp;lt;/arcgis-home&amp;gt;
          &amp;lt;arcgis-zoom position='top-left'&amp;gt;&amp;lt;/arcgis-zoom&amp;gt;
          &amp;lt;arcgis-locate position='top-left'&amp;gt;&amp;lt;/arcgis-locate&amp;gt;
        &amp;lt;/arcgis-map&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;I'm getting a typing problem with VSCode IDE telling me&amp;nbsp;&lt;SPAN&gt;Property 'portalItem' does not exist on type 'Map'.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 19:30:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1607803#M86981</guid>
      <dc:creator>DeanWilson</dc:creator>
      <dc:date>2025-04-21T19:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing components with TypeScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1607916#M86984</link>
      <description>&lt;P&gt;Your IDE is not lying. You are referencing a property that is not documented. Map object doesn't have many properties:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#properties-summary" target="_blank"&gt;Map | API Reference | ArcGIS Maps SDK for JavaScript 4.32 | Esri Developer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Map component object has more (&lt;A href="https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#properties" target="_blank"&gt;Map | ArcGIS Maps SDK for JavaScript 4.32 | Esri Developer&lt;/A&gt;), but I don't see a good way to print the title of the webmap. Just ignore the error, I guess.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 06:50:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1607916#M86984</guid>
      <dc:creator>Edvinas_S</dc:creator>
      <dc:date>2025-04-22T06:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing components with TypeScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1608039#M86988</link>
      <description>&lt;P&gt;Thanks for following up&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/413145"&gt;@Edvinas_S&lt;/a&gt;&amp;nbsp;.&amp;nbsp; Here's something that I'm still trying to wrap my head around. First off, when I do the console.log for the portalItem.title, it actually gives me the title of the webmap that's in my portal.&amp;nbsp; I tried giving it a name of tempProperty to see if it would still print the title.&amp;nbsp; It told me tempProperty doesn't have a property called title.&amp;nbsp; When I switched back to portalItem, it was indeed printing out again.&amp;nbsp; I was hoping to not have to worry about IDE typing errors like this using the calcite web components.&amp;nbsp; Any thoughts on that?&lt;BR /&gt;&lt;BR /&gt;The other thing I had was utilizing this link for using react with the calcite components:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/calcite-design-system/resources/frameworks/#calcite-components-react" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/calcite-design-system/resources/frameworks/#calcite-components-react&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Now I did read the note stating if using react 19+ we don't need to use calcite-components-react.&amp;nbsp; I was hoping to get some other documentation on accessing underlying functionality in the web components so I can start writing my own components to work with the map via react.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 13:54:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1608039#M86988</guid>
      <dc:creator>DeanWilson</dc:creator>
      <dc:date>2025-04-22T13:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing components with TypeScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1608230#M86994</link>
      <description>&lt;P&gt;The arcgis-map component does have a documented map property so you should be good to use it:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#map" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#map&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your code sample, where is the TargetedEvent type coming from? what does it look like? does it expect event.currentTarget property to be used in place of event.target?&lt;/P&gt;&lt;P&gt;Try using the following type as event type instead: HTMLArcgisMapElement["arcgisViewReadyChange"].&lt;/P&gt;&lt;P&gt;Also, try inlining the event listener in JSX rather than having a separate function - that would remove the need for providing explicit event argument type - does that work?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 19:00:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1608230#M86994</guid>
      <dc:creator>mpatiiuk</dc:creator>
      <dc:date>2025-04-22T19:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing components with TypeScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1608419#M87000</link>
      <description>&lt;P&gt;Thanks for the reply&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/690870"&gt;@mpatiiuk&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as where the TargetedEvent type is coming from, it's coming from the component's on function here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DeanWilson_0-1745408874753.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/130783i78068BDC5346D877/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DeanWilson_0-1745408874753.png" alt="DeanWilson_0-1745408874753.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(let me know if you can't see that I can resend it)&lt;BR /&gt;Tried the type you gave me but no luck.&amp;nbsp; still getting the same linter error of&amp;nbsp;&lt;SPAN&gt;Property 'portalItem' does not exist on type 'Map'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Inlining the listener gives me a similar error as well.&amp;nbsp; I did get this code from some of the docs I found for the calcite components.&amp;nbsp; It's here:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/tutorials/using-view-with-components/#add-script-logic" target="_self"&gt;https://developers.arcgis.com/javascript/latest/tutorials/using-view-with-components/#add-script-logic&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which I was sent to from this tutorial:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/get-started-react/#add-additional-functionality" target="_self"&gt;https://developers.arcgis.com/javascript/latest/get-started-react/#add-additional-functionality&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(at the bottom of this section it mentioned going to 'this tutorial' which sends me to the previous link to this one)&lt;/P&gt;&lt;P&gt;I mean it does indeed log the title in the console, but I should be able to use my tooling also.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 11:57:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1608419#M87000</guid>
      <dc:creator>DeanWilson</dc:creator>
      <dc:date>2025-04-23T11:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing components with TypeScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1608992#M87023</link>
      <description>&lt;P&gt;I think you are a bit confused on how that code works. You can't just rename portalItem to anything you want&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// This line means that you want to unpack a properties from event.target.map
// object into it's own variables.
// It's useful when you want to unpack many properties at once
const { portalItem } = event.target.map

// You are unpacking only one property, so it's the same as writing this
const portalItem = event.target.map.portalItem

// when you renamed portalItem to tempProperty, you basically did this
const tempProperty = event.target.map.tempProperty

// obviously this doesn't work, because there is no such thing as
// "tempProperty" inside the map object&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;SPAN&gt;I was hoping to not have to worry about IDE typing errors like this using the calcite web components.&amp;nbsp;&lt;/SPAN&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;map.portalItem exists in practice, but it is not documented. That means &lt;STRONG&gt;there are no definitions for this property inside the API&lt;/STRONG&gt;. Because there are no definition for this property, your IDE can't possibly know it exists. And so you&amp;nbsp; get a red squiggly line. &lt;STRONG&gt;Your IDE works correctly and the typing is fine&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I think this property used to be documented. They wouldn't use it in a tutorial if it was "hidden". Why it got removed, I don't know.&lt;/P&gt;&lt;P&gt;If you want to remove the red line, you can tell your app to ignore this warning using a decorator or create an extended type for map that includes a portalItem property.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Edvinas_S_0-1745508401432.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/130921iDC4E86901AC95AAB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Edvinas_S_0-1745508401432.png" alt="Edvinas_S_0-1745508401432.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 17:34:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1608992#M87023</guid>
      <dc:creator>Edvinas_S</dc:creator>
      <dc:date>2025-04-24T17:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing components with TypeScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1609007#M87024</link>
      <description>&lt;P&gt;I believe event.target.map is of a broad type &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html" target="_blank"&gt;Map&lt;/A&gt;, where as the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#portalItem" target="_blank"&gt;.portalItem&lt;/A&gt; is defined on a more specific type, &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html" target="_blank"&gt;WebMap.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Since arcgis-map needs to work with all kind of maps, it uses the most broad type. If you know your map will be a WebMap (it will be in this case as you provided the item-id), you can cast the type manually:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// top of the file
import type WebMap from "@arcgis/core/WebMap.js";

// inside the event listener:
const { portalItem } = event.currentTarget.map as WebMap&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 18:17:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1609007#M87024</guid>
      <dc:creator>mpatiiuk</dc:creator>
      <dc:date>2025-04-24T18:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing components with TypeScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1609263#M87041</link>
      <description>&lt;P&gt;The cast looks like it did the trick as far as getting rid of the linter errors. I do appreciate that.&amp;nbsp; Would casting possibly fix the issues&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/854526"&gt;@micsova&lt;/a&gt;&amp;nbsp; was asking about you think?&amp;nbsp; I'm newer to typescript, coming from a C# background mainly.&amp;nbsp; Not sure of the prevalence of type casting in cases like these.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2025 15:50:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1609263#M87041</guid>
      <dc:creator>DeanWilson</dc:creator>
      <dc:date>2025-04-25T15:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing components with TypeScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1609270#M87042</link>
      <description>&lt;P&gt;Type casting is not required often.&lt;/P&gt;&lt;P&gt;The original comment had a type error accessing the arcgisScene.map property. I see that property in our &lt;A href="https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map" target="_blank"&gt;documentation&lt;/A&gt;, so I am not sure why the issue is present. A GitHub repository link or other way to see the fuller project setup would be helpful to diagnose the issue.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2025 16:24:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-components-with-typescript/m-p/1609270#M87042</guid>
      <dc:creator>mpatiiuk</dc:creator>
      <dc:date>2025-04-25T16:24:04Z</dc:date>
    </item>
  </channel>
</rss>

