I have a list looking like so
[[{A},{B}], {C}]
Is there any simple method without having to create a function that will flatten this to an array looking like so
[{A},{B},{C}]
I searched on SO but did not find anything with typescript methods.
Thanks.
Edit : A, B and C are the same types.