Javascript Type String Is Not Assignable To Type Undefined

Javascript Type String Is Not Assignable To Type Undefined