All challenges
Polymorphic Notifier
Polymorphism
solution.ts
medium+70 XP
Define `interface Notifier { notify(msg: string): string }`. Implement `EmailNotifier` and `SmsNotifier`. Export function `alertAll(notifiers: Notifier[], msg: string): string[]`.
Judge
Press Run tests to execute your solution in the sandbox judge.