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.

方法

new (...args: any[]): T

参数

args

Type: any[].

返回值

T