Skip to content

Commit 7a9896a

Browse files
committed
+ credits to readme
1 parent f24a7bd commit 7a9896a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,7 @@ f = function(v: FixedSizeArray<2, number>) {
8282
//ok
8383
f([1,2]);
8484
```
85+
86+
## Credits
87+
88+
We use the same trick to assign a numeric literal to length as it was [done](https://github.com/Microsoft/TypeScript/pull/17765) in TS 2.7 for tuples of fixed size.

0 commit comments

Comments
 (0)