==== tests/cases/compiler/infinitelyExpandingTypes2.ts (1 errors) ==== interface Foo { x: Foo>; } interface Bar extends Foo { y: string; } function f(p: Foo) { console.log(p); ~~~~~~~ !!! Cannot find name 'console'. } var v: Bar = null; f(v); // should not error