Typescript Set Add Is Not A Function