Skip to content

enhancement : function in object #31

@2929762171

Description

@2929762171
 let aaa = {
    /** */
    fc: function(pa, pb){}
 };

I want something like this :

 let aaa = {
    /**
     * @param {*} pa
     * @param {*} pb
     */
    fc: function(pa, pb){}
 };

But it gave me this :

 /** @type {{ fc: (pa: any, pb: any) => void; }} */
 let aaa = {

    fc: function(pa, pb){}
 };

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions