TypeDecorator
interface
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
}
Description
@ng.Component({...})
class MyClass {...}
Methods
call signature | |||||||||
---|---|---|---|---|---|---|---|---|---|
Invoke as decorator. | |||||||||
(target: Object, propertyKey?: string | symbol, parameterIndex?: number): voidParameters
Returns
|
© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v9.angular.io/api/core/TypeDecorator