Skip to content

Instantly share code, notes, and snippets.

@kanian
Created August 24, 2020 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kanian/3fec8e9f82e11d2ac9f5d3767a8f5dbf to your computer and use it in GitHub Desktop.
Save kanian/3fec8e9f82e11d2ac9f5d3767a8f5dbf to your computer and use it in GitHub Desktop.
What setProps should look like
setProps<T extends BaseObject>(values: T): void {
//...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment