I am trying to use a variable from a JavaScript file that gets downloaded via the <script> tag however typescript complains because it is undefined. I cannot define the variable otherwise it takes precedence and then I cannot access the other one.
Is there any way to do this?