typedef expected call-signature error for Angular2 tutorial with VS2015
<p>I'm doing the Angular2 tutorial in VS2015 and am stuck with a warning that is preventing one of my TypeScript files from compiling. Tutorial link as follows.</p>

<p><a href="https://angular.io/docs/ts/latest/tutorial/toh-pt4.html" rel="nofollow">https://angular.io/docs/ts/latest/tutorial/toh-pt4.html</a></p>

<p>The warning is code <strong>typedef</strong> with description <strong>expected call-signature: 'getHeroes' to have a typedef</strong>.</p>

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

import { HEROES } from "./mock-heroes";

@Injectable()

export class HeroService {
    getHeroes() {
        return Promise.resolve(HEROES);
    }
}
</code></pre>

<p>I have done some searching but couldn't find anything that made sense to me... i'm pretty new and learning...</p>

<p>Could someone help me out with how I should change the TypeScript code above to set the return type definition for the Promise returned by the getHeroes method.</p>