Answer the question
In order to leave comments, you need to log in
How in typescript to describe an interface representing an array of two elements of elements of different types?
There is an array, always consisting of only two elements. The first element is a string, the second is an object that has its own interface. How to describe the interface in typescript for such an array?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question