Closed
Description
TypeScript Version: latest
/** @typedef {{ email: string, nickName?: string }} U2 */
/** @type {U2} */
const u2 = { email: "" }
Actual behavior:
U2
in /** @type {U2} */
is marked deprecated.
While I dislike @typedef
as much as the next programmer, we shouldn't mark every alias created with it as deprecated.