Does anyone know how to cast in TypeScript?
I\'m trying to do this:
var script:HTMLScriptElement = document.getElementsByName(\"script\")[0]; alert(s
var script = (<HTMLScriptElement[]><any>document.getElementsByName(id))[0];