Skip to content

jsdoc mouse hover definition {Array.<static class>} bug #33455

Open
@jonlepage

Description

@jonlepage

TypeScript Version: TS-next-3.7.0-2019.09.11


hi, if we add a definition jsdoc with static class array like this
/**@type {Array.<_A._B>} */
Mouse hover show any. And am not seem able to get link from vscode.
So i can't use ctrl+click to get definitions and travel in my codes.

I don't know if is a bug related to vscode engine or a mistake from my side?
Try this code and hover {Array.<_A._B>}

class _A {
    constructor() {
        /**@type {Array.<_A._B>} */
        this.test = null;
        //test intelisence
        this.test[0].TESTT
    };

    static _B = (function() {
        return class _B {
            constructor() {
                this.TESTT = true;
                
             };
        };
    })();

    static _C = class _C {
            constructor() {
                this.TESTT = true;
                
             };
        };

};

bug jsdoc

from suggest, it can also maybe related here.
microsoft/vscode#17912

thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions