Typescript Set Add Function In C