Created
November 30, 2025 00:25
-
-
Save anztrax/e4ca750c1450814a8031202f3950ebff to your computer and use it in GitHub Desktop.
Simple Implementation Got Length of Array in Typescript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type Length<T extends readonly unknown[]> = T['length'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment