Created
August 25, 2018 15:45
-
-
Save moofish32/db75aa4bb8b3a4cd42839fcb06cc9183 to your computer and use it in GitHub Desktop.
reproduction
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
export class Helper { | |
public help(): string { | |
return 'your welcome for the help'; | |
} | |
} | |
export interface Helpable { | |
help: Helper; | |
} | |
export class ThingNeedsHelp implements Helpable { | |
public readonly help: Helper; | |
constructor() { | |
this.help = new Helper(); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment