Open barsdeveloper opened 11 months ago
The default argument for template is not highlighted correctly even though it is correct syntax and it's recognized by the typescript language server
/** * @template Value * @template [Output=Value] **/// ^ from here on class A {} /** @typedef {A<Number>} Custom */
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
The default argument for template is not highlighted correctly even though it is correct syntax and it's recognized by the typescript language server