Answer the question
In order to leave comments, you need to log in
Why does Webstorm highlight the spread operator?
handleChangeInput(e){
const {name, value} = e.target;
this.setState({obj:{
...this.state.obj, [name]:value
}});
...this.state.obj, [name]:value
with the message Expression statement is not assignment or call? Answer the question
In order to leave comments, you need to log in
Try clicking the Typescript button at the bottom of the screen and finding the Restart item there. Usually helps in such situations.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question