Last active
January 17, 2020 17:17
-
-
Save meekg33k/9238959e7a9ac8c032636e591589737b to your computer and use it in GitHub Desktop.
Interface definition for Animal https://medium.com/p/177b4a654ef6
This file contains hidden or 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 Cat { | |
meow(); | |
walk(); | |
} | |
interface Dog { | |
bark(); | |
walk(); | |
} | |
type Animal = Cat | Dog; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment