Typescript Set Add Function