The default argument for template is not highlighted correctly even though it is correct syntax and it's recognized by the typescript language server ```js /** * @template Value * @template [Output=Value] **/// ^ from here on class A {} /** @typedef {A<Number>} Custom */ ```
Activity
barsdeveloper commentedon Oct 25, 2023
Please remember that default can also be a value, not just a type
https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html#param-and-returns
gen-tm: color JSDoc `@template [Name=Default]` type-parameter (#994)