Implementing attributeChangedCallback in Typescript? In this tutorial attributeChangedCallback is implemented like this: