Typescript Interface Array Of Strings Length Conversion