ghaiklor / type-challenges-solutions

Solutions for the collection of TypeScript type challenges with explanations
https://ghaiklor.github.io/type-challenges-solutions/
Creative Commons Attribution 4.0 International
471 stars 56 forks source link

update en/easy-tuple-length #339

Closed patxu closed 11 months ago

patxu commented 11 months ago

Challenge easy-tuple-length

Small change to account for the test case Length<"hello world"> which one of the solutions allows for. Since we're just looking for the length of arrays, we shouldn't allow this.

Checklist