@experimental
标准化 | 酌情决定 |
语法种类 | 修饰符 |
同义词 | @beta |
建议的含义
与 @beta
相同的语义,但被不支持 @alpha
发布阶段的工具使用。
示例
/**
* Represents a book in the catalog.
* @public
*/
export class Book {
/**
* The title of the book.
* @experimental
*/
public get title(): string;
/**
* The author of the book.
*/
public get author(): string;
}
在此示例中,Book.author
继承了其包含类的 @public
指定,而 Book.title
则标记为“experimental”。