Typescript Enum Type String Null Is Not Assignable To Type