Closed
Description
JSDoc comment templates don't work if you have a preceding JSDoc comment declared using a @typedef
or an @overload
tag.
/** @typedef {string} Id */
/**$ */
function foo(x, y, z) {
}
Request docCommentTemplate
.
The following is expected:
/** @typedef {string} Id */
/**
*
* @param x
* @param y
* @param z
*/
function foo(x, y, z) {
}
But instead we get:
/** @typedef {string} Id */
/**
*
*/
function foo(x, y, z) {
}
Originally posted by @DanielRosenwasser in #52370 (comment)