//// [castNewObjectBug.ts] interface Foo { } var xx = new Object(); //// [castNewObjectBug.js] var xx = new Object();