TLDR Extend the existing interface declaration for the Window object. Introduction Knowledge builds upon knowledge. Whoever said that was right. In this section, we will build upon the knowledge from the last two sections: Interfaces vs Types in Typescript What is a d.t.s file in Typescript Ready? First, I must say, in…