JSDoc 中文网

语法

🌐 Syntax

@author <name> [<emailAddress>]

概述

🌐 Overview

@author 标签用于标识某个项目的作者。在 JSDoc 3.2 及更高版本中,如果作者的名字后跟一个用尖括号括起来的电子邮件地址,默认模板会将该电子邮件地址转换为 mailto: 链接。

🌐 The @author tag identifies the author of an item. In JSDoc 3.2 and later, if the author's name is followed by an email address enclosed in angle brackets, the default template will convert the email address to a mailto: link.

示例

🌐 Examples

记录项目的作者
/**
 * @author Jane Smith &lt;jsmith@example.com>
 */
function MyClass() {}