TypeDecorator
An interface implemented by all Angular type decorators, which allows them to be used as ES7 decorators as well as Angular DSL syntax.
interface TypeDecorator {
<T extends Type<any>>(type: T): T
}
说明
ES7 syntax:
@ng.Component({...})
class MyClass {...}
方法
Invoke as ES7 decorator. |