Typescript Set Add Function In Arraylist Api