I have script tag like this:
<script type="text/javascript" src="http://url.com/foo.min.js"></script>
And then I just want to use the object from that js file inside my typescript like below
Foo.create('element', {
"title": "foo",
"description": "bar",
});
I got the error warning on Foo inside my Typescript. Is there any way that I can use Foo object like Javascript?