title: TypeScript: TS2339 error -- Property does not exist on type 'object'
body: <p>I am having trouble resolving this error on my app.
  Essentially, I have an interface set as so:</p>
  
  <pre><code>interface skuInfo {
      href: string
  }
  
  interface myObjectItem {
      itemId: string
      isFound: boolean
      price: {
          selling: number 
      }
      images: {
          sku: skuInfo[]
      }
  }
  </code></pre>
  
  <p>What trips me is the <code>myObjectItem.images.sku</code>.</p>
  
  <p>I have an object set as so: <code>const exObj: myObjectItem</code>.</p>
  
  <p>When I try to access its property:
  <code>exObj.images.sku[0].href</code>, I receive the following error:</p>
  
  <pre><code>Property 'href' does not exist on type 'object'
  </code></pre>
  
  <p>In my Visual Code editor, I can see that it prefills the <code>href</code> attribute when accessing an array of the object, but TS is still complaining.</p>
  
  <p>Am I missing something?</p>