Skip to content

Instantly share code, notes, and snippets.

@moofish32
Created August 25, 2018 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moofish32/db75aa4bb8b3a4cd42839fcb06cc9183 to your computer and use it in GitHub Desktop.
Save moofish32/db75aa4bb8b3a4cd42839fcb06cc9183 to your computer and use it in GitHub Desktop.
reproduction
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