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