How To Add Custom Types to the Window With TypeScript

A brief guide to creating the perfect environment

Jesse Langford
Better Programming
Published in
3 min readMay 20, 2022

--

By olllinka2

A few weeks ago, I was tasked with integrating a third-party module with one of our applications. It was an application that needed to be loaded via a script tag in our HTML, similar to how you would load Google analytics. Once the page loads and the scripts are fetched, we can see a new…

--

--