warning Syntax error in type: import('http').ClientRequest jsdoc/valid-types
Was wondering what would be the right syntax if it's not a bug? Example below:
/**
* @param {import('http').ClientRequest} req
* @param {Function} [callback]
* @return {Promise}
*/