Skip to content

类型别名: ClassValue

ts
type ClassValue = 
  | string
  | number
  | bigint
  | boolean
  | null
  | undefined
  | ClassArray
  | ClassObject;

定义于: class.ts:2

可作为 class 的值:字符串、数字、bigint、布尔、null/undefined,以及它们的数组或「键 → 真值」对象