填寫這份《一分鐘調查》,幫我們(開發組)做得更好!去填寫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