All academies
All challenges

Factory-style provider

NestJS

solution.ts
hard+90 XP

Write `createGreeter(prefix: string)` returning `{ greet(name: string): string }` that returns prefix + name. `appGreet` should use createGreeter('Hi ').

Judge

Press Run tests to execute your solution in the sandbox judge.