cmux/node_modules/json-schema-to-ts/lib/utils/head.d.ts
2026-01-29 17:36:26 -08:00

7 lines
151 B
TypeScript

/**
* Returns the first element of a tuple `T`
*
* @param T Tuple
* @return Type
*/
export declare type Head<T> = T extends any[] ? T[0] : never;