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

Type

Represents a type that a Component or other object is instances of.

查看"说明"...

interface Type<T> extends Function { new (...args: any[]): T }
      
      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.

方法

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

T