填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

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.

构造函数

      
      constructor(...args: any[]): T
    
参数
args any[]
返回值

T