mirror of
https://github.com/type-challenges/type-challenges.git
synced 2025-12-08 19:06:13 +00:00
7 lines
174 B
TypeScript
7 lines
174 B
TypeScript
import { Equal, Expect } from '@type-challenges/utils'
|
|
|
|
type cases = [
|
|
Expect<Equal<First<[3, 2, 1]>, 3>>,
|
|
Expect<Equal<First<[() => 123, { a: string }]>, () => 123>>,
|
|
]
|