You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This plugin works great to resolve import syntax like so:
/** @typedef {import("../bakery").Cake} Cake */
But VSCode requires that properties on these types used in other JSDoc annotations use this Object["property"] syntax, not dot syntax (reserved for namespaces). So this fails to parse and JSDoc will throw:
/** * @param {string} name * @param {Cake["icing"]} icing * @returns {Cake} Returns new {@link Cake} on success. */functionmakeACake(name,icing){
... cakemakingstuff}