Type
Represents a type that a Component or other object is instances of.
interface Type<T> extends Function {
new (...args: any[]): T
}
说明
An example of a Type
is MyCustomComponent
class, which in JavaScript is be represented by the MyCustomComponent
constructor function.