title: How to resolve "x is not a property of interface"
body: <p>I have tried a few different things to resolve this issue with no luck. I have created the interface below</p>
  <pre><code>export interface Force {
    store: number[];
    items: {
      itemName: string[];
      quantity: number[];
    }
  }
  </code></pre>
  <p>and I call this function in my service</p>
  <pre><code>  data: Force[] = [
      {store: [],
      items:{
        itemName: [],
        quantity: []
      }}
    ]
  
  constructor() { }
  
  pushData(item){
    console.log(this.data);
  
  this.data.store.push(item)
  
    }
  }
  </code></pre>
  <p>But it says that store is not a property of Force[]. I think I am just not fully understanding how the interface works along with how to properly implement it. When I remove the [] from force (Force[] -&gt; Force) it removes the error from store but gives me a handful of other errors. Thank you for any help you can offer!</p>