-
-
Save ypcode/b2dff097c73d0a4220e6f8db04f58979 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
import {GreetingsServiceKey} from "../services/GreetingsService"; | |
// ... | |
public Greet() { | |
let service = this.serviceScope.consume(GreetingsServiceKey); | |
let message = service.sayHello("Yannick"); | |
console.log(message); | |
} | |
// ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment