JSDoc intellisense on class methods from interfaces

Topics: General, Language Specification
Jun 5, 2014 at 6:07 PM
Currently I have a class that implements an interface. I have documented the interface using JSDoc, and I am able to get the intellisense whenever I reference the interface. The only issue is I don't get intellisense internally in the class, and I also don't get it if I extend the class. I have an example below:
class Person implements IPerson {
    gender: string;

    constructor(public name: string) { }

    greet() {
        alert('Hello ' + this.name);
    }
}

interface IPerson {
    /**
     * The gender of the person.
     */
    gender: string;

    /**
     * The name of the person.
     */
    name: string;

    /**
     * Alerts a personalized greeting.
     */
    greet(): void;
}

class Guy extends Person {
    gender = 'male';
}
If I try to access "greet" internally (in any methods in Person or Guy) I won't get intellisense for the JSDoc. The only way to get the intellisense is to duplicate the JSDoc on the interface and the class. This scales horribly. Is there any way around having to do this, or is there an effort to make it possible in the future?