Typescript Check Type Of Array Of Strings Cpp Library