MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / EnglishGreeter

Class EnglishGreeter

examples/webpack/src/dependency-injection.ts:58–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58class EnglishGreeter implements Greeter {
59 language = 'en';
60 greet(name: string) {
61 return `Hello, ${name}!`;
62 }
63}
64
65/**
66 * A class with dependency injection

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected