Types of property 'length' are incompatible. Type '4' is not assignable to type '1' : <p>I'm learning typescript / angular at the moment and can't work out why TSLint is throwing this up as an error, however the code itself works and displays in a browser.</p>

<pre><code>export class GreetingComponent implements OnInit {

  names: [{ name: string }] = [{ name: 'Tom' }, { name: 'Dave' }, { name: 'Katie' }, { name: 'John' }];
  constructor() { }

  ngOnInit() {
  }
</code></pre>

<p>Specifically the line:</p>

<pre><code> names: [{ name: string }] = [{ name: 'Tom' }, { name: 'Dave' }, { name: 'Katie' }, { name: 'John' }];
</code></pre>

<p>Full Error:</p>

<pre><code>[ts]
Type '[{ name: string; }, { name: string; }, { name: string; }, { name: string; }]' is not assignable to type '[{ name: string; }]'.
  Types of property 'length' are incompatible.
    Type '4' is not assignable to type '1'.
(property) GreetingComponent.names: [{
        name: string;
    }]
</code></pre>
