Javascript Error Type String Element Is Not Assignable To Type

Javascript Error Type String Element Is Not Assignable To Type