vscode-docthis icon indicating copy to clipboard operation
vscode-docthis copied to clipboard

Support private class members

Open twilight1794 opened this issue 1 year ago • 0 comments

When trying to generate documentation for a private member, it just documents the class:

class Foo {
    #bar (a, b){
        // ...
    }
}

Expected:

class Foo {

    /**
     * 
     * @param {*} a
     * @param {*} b
     */
    #bar (a, b){
        // ...
    }
}

Actually:

/**
 * 
 * @class Foo
 */
class Foo {
    #bar (a, b){
        // ...
    }
}

twilight1794 avatar May 17 '23 14:05 twilight1794