Recently I started working with angular-cli and came across a situation where I have an index.html containing a javascript script with some global functions. I want to access these functions in multiple parts of my application. As someone who is new to Angular and typescript, I don't have much knowledge about type definitions. Despite attempting to write them, I struggle with either writing or importing them correctly. Could someone provide me with an example of how to achieve this? It would be greatly appreciated if there was a way to import all the functions using just one line of code.