Changes
Showing 1 changed file
+2-2
example.tsMM+2-2
View file
@@ -4,7 +4,7 @@ export interface Greeting { | |||
| 4 | 4 | } | |
| 5 | 5 | | |
| 6 | 6 | export function greet({message, recipient}: Greeting): string { | |
| 7 | return `${message}, ${recipient}.`; | ||
| 7 | return `${message}, ${recipient}!`; | ||
| 8 | 8 | } | |
| 9 | 9 | | |
| 10 | console.log(greet({message: "Hello", recipient: "world"})); | ||
| 10 | console.log(greet({message: "Hello", recipient: "Peruse"})); | ||