Class - method, property list in Visual Studio missing when "export" is used

Topics: General
Mar 16, 2013 at 3:10 PM
export class ComponentType {

    public nextBit = 1;
    public nextId = 0;

    private _bit;
    private _id;

    constructor() {
        this.init();
    }

    init() {
        this._bit = this.nextBit;
        this.nextBit = this.nextBit << 1;
        this._id = this.nextId++;
    }

    public get Bit() {
        return this._bit;
    }

    public get Id() {
        return this._id;
    }

}
So for example this class or any other generic Typescript class in Visual Studio shows the class definitions in the current file and also all the methods and properties BUT
if we add the export keyword as shown above there is no class/methods/properties list in the dropdown for the current file.

Here some image:
Image

I don't know if this is TS, VS or WebEssetial stuff so i post here and not in the issue tracker.
Coordinator
Mar 18, 2013 at 3:13 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.