Created
November 7, 2019 04:35
-
-
Save IntegerMan/a2c95635d17e707867663ea827d2f52a 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
class Person { | |
// Extra logic here | |
} | |
class AwesomePerson extends Person { | |
public doAwesomeStuff(): void { | |
} | |
} | |
class Theme { | |
users: Person[] = []; | |
// Extra logic here | |
} | |
class DarkTheme extends Theme { | |
declare users: AwesomePerson[]; | |
public doStuff() { | |
for (var user of this.users) { | |
user.doAwesomeStuff(); | |
} | |
} | |
// Extra logic here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment