Define and document custom types and interfaces
@typedef {Object} TypeName/**
* @typedef {Object} User
* @property {string} name
* @property {number} age
*/@property {type} name Description/**
* @property {string} email - User email address
*/@enum {type}/**
* @enum {string}
*/
const Status = {
PENDING: "pending",
COMPLETE: "complete"
}@type {type}/**
* @type {string|number}
*/
let value;