Created
April 14, 2022 04:03
-
-
Save jasonbyrne/ff7ccb0c95cec4a62aa45d3402c91569 to your computer and use it in GitHub Desktop.
Things at a Restaurant
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
class Drink { | |
name: string; | |
price: number; | |
ounces: number; | |
} | |
class Food { | |
name: string; | |
price: number; | |
type: "appetizer" | "entree"; | |
} | |
class Waiter { | |
name: string; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment