Inline Documentation too verbose for JSDOC typedef

Let's say I define two types like this:

/**
 * @typedef {Object} TypeA
 * @property {string} name some string
 * @property {number} count some integer
 */

/**
 * @typedef {Object} TypeB
 * @property {TypeA} parent relation to a different type
 * @property {string} name some string
 */

When I now hover over word “TypeB” to get the documentation of it, I get a very verbose output. If using more complex subtypes, this gets very chaotic.

I would like to have parent: TypeA to be displayed in the properties. Is that possible?

Webstorm Version: 2024.1.1 (WS-241.15989.47 April 15, 2024)

0
No, it’s not possible at the moment. The IDE intentionally shows actual types in quick doc instead of type aliases, this is done at multiple users' requests.
0

请先登录再写评论。