Skip to content

Instantly share code, notes, and snippets.

@wongjiahau
Last active July 2, 2019 14:24
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 wongjiahau/d5ee09993c92cec6119dcb29f77dffbb to your computer and use it in GitHub Desktop.
Save wongjiahau/d5ee09993c92cec6119dcb29f77dffbb to your computer and use it in GitHub Desktop.
const newShape1: Shape = { width: 30, base: 40 } // invalid combination of properties
const newShape2: Shape = { height: 40 } // missing base or width
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment