error TS7027: Unreachable code detected in Angular2 TypeScript Service class
<p>I am following along with a PluralSight course and practicing writing a basic service in Angular2. I have the following service file:</p>

<p><strong>customer.service.ts</strong></p>

<pre><code>import { Injectable } from '@angular/core';

@Injectable()
export class CustomerService {

    constructor() {}

    getCustomers() {
        return 
        [
            {id: 1, name: 'Ward'},
            {id: 2, name: 'Joe'},
            {id: 3, name: 'Bill'},
            {id: 4, name: 'Bob'},
            {id: 5, name: 'Levi'},
            {id: 6, name: 'Brian'},
            {id: 7, name: 'Susie'}
        ];
    }
}
</code></pre>

<p>When I start up the lite-server using <code>npm start</code> I am receiving the following error:</p>

<pre><code>angular-quickstart@1.0.0 start C:\Dev\my-proj
tsc &amp;&amp; concurrently "tsc -w" "lite-server"

app/customer/customer.service.ts(10,3): error TS7027: Unreachable code detected.
</code></pre>

<p>When I comment out the return block, the lite-server starts fine, so it seems to be something in that return it does not like. Any help would be appreciated.</p>