🛠️
Notes
Search...
Ctrl + K
typescript
Inferring the type of elements in an array
Copy
type Unarray<T> = T extends Array<infer U> ? U : T
Previous
Using entr to react to file changes
Next
The command-line window
Last updated
3 years ago
Was this helpful?