Say I have a generic tuple type:
type MyTuple<A, B> = [A, B]
The following works, because I give it the generic types:
const thing2: MyTuple<number, string> = [20, 'hello']
I want to use it like this, but it gives an error:
const thing1: MyTuple = [20, 'hello'] // -> Generic type 'MyTuple' requires 2 type argument(s).
I don't understand why it needs the generic args in this instance - I rarely have to specify the generic type when using map for example.