Last active
July 2, 2019 14:26
-
-
Save wongjiahau/086f824383aafea23eb28738505017f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface ShapeV2 { | |
label: 'rectangle' | 'circle' | 'triangle' | |
radius ?: number // only for circle | |
height ?: number // only for triangle and rectangle | |
width ?: number // only for rectangle | |
base ?: number // only for triangle | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment