TypeScript web application. Created following The Net Ninja YouTube tutorial.
classDiagram
class Formattable{
<<interface>>
+format(): string
}
class Invoice{
-client: string
-details: string
+amount: number
}
Formattable<|..Invoice
class Payment{
-recipient: string
-details: string
+amount: number
}
Formattable<|..Payment
class ListRenderer{
+render(Formattable, string): void
}