tengo este codigo:
typedefs.js
/** * A UUID. * Example: 123e4567-e89b-12d3-a456-426655540000 * * @typedef {string} uuid */ /** * @typedef {Object} Notification * * @property {uuid} id - The notification ID. */código.js
/** * @typedef {import('../typedefs').Notification} Notification */ /** * @returns {Notification} - An array of notifications. */ export const getNotification = () => { }; Cuando paso el cursor sobre {Notification} , muestra:
Pero esperaba que mostrara uuid en lugar de string .