How to define an array of strings in TypeScript interface? -


i have object this:

{ address : ['line1', 'line2', line3']} 

how define address in interface? number of elements in array not fixed.

interface addressable {   address : string[]; } 

Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -