TypeDecorator
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. | |||||||||
参数
返回值
|