import Component from "./Component" ; import Decorator from "./Decorator" ; export default class ConcreteDecorator extends Decorator { constructor ( id , component ) { super ( id , component ) ; } public operation ( ) { super . operation ( ) ; console . log ( "`operation` of ConcreteDecorator" , this . Id , " is being called!" ) ; } }