Untyped Javascript Library - Ionic RC1

Hello to everyone. I’m trying to import in my Ionic RC1 project a javascript library wito no type definition. After some search I found that one way to accomplish that is to include the lib in www/index.html file like that

<script src="externalLib.js"></script>

and then referencing the library in .ts files like that

declare var myLib: any

The problem is that the lib isn’t found. What’s the bast way to do this?

Thanks

cant typescript find it, or do you get a 404?

I got “myLib is not defined”. So lib is correctly found in index.html. I got the same error whatever js library I try to use