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

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -