TypeDecorator
由所有 Angular 类型装饰器实现的接口,该接口允许将它们用作装饰器以及 Angular 语法。
An interface implemented by all Angular type decorators, which allows them to be used as decorators as well as Angular syntax.
interface TypeDecorator {
<T extends Type<any>>(type: T): T
}
说明
@ng.Component({...})
class MyClass {...}
方法
作为装饰器调用。 Invoke as decorator. | |||||||||
参数
返回值
|