Code completion not work for case @memberOf

How to reproduce:

//file A.js

/**
* @memberOf module:type
* @property {string} B
*/
class A {
static test() {}
}

module.exports = A;


//client file
const A = require("./A");
A.test(); //Unresolved function or method test()
let x = A.B; //Unresolved variable B 

 

if i remove memberOf  all is ok, but i need modules for jsdoc

workaround is to add /** @class module:type.A */ before require, but it's not good

Please sign in to leave a comment.