(private w: number, private h: number)
| 18 | |
| 19 | class Rectangle extends Shape { |
| 20 | constructor(private w: number, private h: number) { |
| 21 | super(); |
| 22 | } |
| 23 | |
| 24 | area(): number { |
| 25 | return this.w * this.h; |
nothing calls this directly
no outgoing calls
no test coverage detected