I have an object like this:
{ "address": ["line1", "line2", "line3"] }
How to define address in an interface? the number of elements in the array is not fixed.
address
interface Addressable { address: string[]; }
2.1m questions
2.1m answers
60 comments
57.0k users