Javascript Type String Is Not Assignable To Type Right

Javascript Type String Is Not Assignable To Type Right