Skip to content

Instantly share code, notes, and snippets.

@daslicht
Created July 10, 2016 15:05
Show Gist options
  • Select an option

  • Save daslicht/5d8c763984445c97d5540037d1007a11 to your computer and use it in GitHub Desktop.

Select an option

Save daslicht/5d8c763984445c97d5540037d1007a11 to your computer and use it in GitHub Desktop.
handleAuthorChange(e) {
this.setState({ author: e.target.value });
}
[ts]
Argument of type '{ author: any; }' is not assignable to parameter of type 'CommentFormAppState'.
Property 'text' is missing in type '{ author: any; }'.
(property) author: any
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment