I love that they finally added strict checking of tuples - now it also checks length and doesn't consider [number]
to be a subtype of [number, number]
. Yey!
https://blogs.msdn.microsoft.com/typescript/2018/01/31/announcing-typescript-2-7/
I love that they finally added strict checking of tuples - now it also checks length and doesn't consider [number]
to be a subtype of [number, number]
. Yey!
https://blogs.msdn.microsoft.com/typescript/2018/01/31/announcing-typescript-2-7/