import Component from "./Component" ; export default class ConcreteComponent implements Component { private s : String ; constructor ( s ) { this . s = s ; } public operation ( ) { console . log ( "`operation` of ConcreteComponent" , this . s , " is being called!" ) ; } }