Type
表示 Component 或其他对象的类型。
Represents a type that a Component or other object is instances of.
class Type<T> extends Function {
constructor(...args: any[]): T
}
说明
Type 的例子之一是 MyCustomComponent 类,该类在 JavaScript 中由 MyCustomComponent 构造函数表示。
An example of a Type is MyCustomComponent class, which in JavaScript is represented by the MyCustomComponent constructor function.