Typescript Set Object Is Not Subscriptable