Type
interface
Represents a type that a Component or other object is instances of.
interface Type<T> extends Function { new (...args: any[]): T }
Child interfaces
Description
An example of a Type
is MyCustomComponent
class, which in JavaScript is be represented by the MyCustomComponent
constructor function.
Methods
construct signature | |||
---|---|---|---|
|
args | any[] |
Returns
T
© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v9.angular.io/api/core/Type