Skip to content

Instantly share code, notes, and snippets.

@trikitrok
Created February 3, 2023 20:17
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 trikitrok/c53000d317cc59033e8efd6489402b7c to your computer and use it in GitHub Desktop.
Save trikitrok/c53000d317cc59033e8efd6489402b7c to your computer and use it in GitHub Desktop.
class Manager {
private employee: Employee;
constructor(employee: Employee) {
this.employee = employee;
}
doThing(): void {
this.employee.doThing();
}
doAnotherThing(): void {
this.employee.doAnotherThing();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment