When working with Typescript, the convention to define an Array of Strings is either string[]
or Array<string>
. In our team, we lean towards using the more concise string[]
.
However, when it comes to defining a Set of Strings, is there a shorter syntax similar to string[]
? Or do we have no choice but to go with the longer form Set<string>
?