Typescript Interface For Array Javascript Duplicates Meaning