Here is a TypeScript snippet that compiles just fine (using 1.5.3).
function alertNumber(a: number) {
alert(a + 1);
}
var x:any = "string";
alertNumber(x);
How is it possible that a function requesting parameter of a certain type can be called with argument of type any?