Last active
June 7, 2020 16:14
-
-
Save maniish-jaiin/7fa3ab1ebc5a446813d78239a0ddac08 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 Profile { | |
id: ID | |
name: String | |
} | |
type User implements Profile { | |
id: ID | |
name: String | |
age: Int | |
} | |
type Company implements Profile { | |
id: ID | |
name: String | |
address: String | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment