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() {}