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[]; }
1.4m articles
1.4m replys
5 comments
57.0k users