UNPKG

ts-type

Version:

TypeScript 類型工具庫:提供豐富的類型操作工具和重新導出的內建類型 / TypeScript type utility library: provides rich type manipulation utilities and re-exported built-in types

18 lines (17 loc) 383 B
/** * 空元組類型 * Empty Tuple Type * * 提供空元組相關的類型定義 * Provides empty tuple-related type definitions */ import { ITSArrayListMaybeReadonly } from '../base'; /** * 空元組類型 * Empty tuple type * * @example * type Empty = ITSEmptyTuple; * // type Empty = [] | readonly [] */ export type ITSEmptyTuple = ITSArrayListMaybeReadonly<never>;