title: Property 'name' does not exist on type 'any[]' during ng build--aot
body: <p>I have 1 dropdown and 1 input field.
  Based the selection of dropdown, input field value is set. </p>
  
  <p>So i used an array of type any(Array).</p>
  
  <p>In my .ts file, i wrote like this</p>
  
  <pre><code>Services: Array&lt;any&gt;=[
      {name: 'Consultation', price: 100}, 
      {name: 'Follow Up', price: 200}, 
      {name: '24 Hrs. Creatinine', price: 300}, 
      {name: 'Complete Blood Count - CBC', price: 400}, 
      {name: 'X-Ray', price: 500}];
  
   selectedservice = this.Services;
  
  </code></pre>
  
  <p>And in HTML, I wrote likes this</p>
  
  <pre><code>&lt;div class="col-sm-9"&gt;
                  &lt;nb-select type="number" fullWidth id="service" [(ngModel)]="selectedservice"
                    [ngModelOptions]="{standalone: true}" required&gt;
                    &lt;nb-option *ngFor="let service of Services" [value]="service"&gt;{{service.name}} &lt;/nb-option&gt;
                  &lt;/nb-select&gt;
  &lt;/div&gt;
  &lt;div class="col-sm-9"&gt;
                  &lt;input type="number" nbInput fullWidth id="price1" [disabled]="true"
                    value="{{selectedservice.price}}" class="form-control" /&gt;
  
  </code></pre>
  
  <p>When I run build command, <code>ng build --aot</code></p>
  
  <p>I was getting this error</p>
  
  <p>Property 'name' does not exist on type 'any[]'.</p>
  
  <p>Property 'price' does not exist on type 'any[]'.</p>
  
  <p>How to resolve this</p>