Typescript Enum To Array Key Exists Expects Parameter 2 To The Second