Created
February 16, 2017 12:49
-
-
Save ducksoupdev/fe897add7a89692971b5a5c97ee18cea to your computer and use it in GitHub Desktop.
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
| abstract class Foo { | |
| protected abstract doSomething(): string; | |
| } | |
| class Bar extends Foo { | |
| protected doSomething() { | |
| return 'foo'; | |
| } | |
| } | |
| let b = new Bar(); | |
| b.doSomething() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment