FE — TypeScript

变量 #

ts 中的问号❓用法 #

类型 #

类型别名 type #

interface #

可索引的类型 #

interface LabelValue {
    color: string
    width: number
    [index: number]: string
}

函数类型 #

泛型 #

泛型约束 #

枚举 #

enum

本文共 58 字,上次修改于 Oct 25, 2022