TypeScript/tests/cases/compiler/infinitelyExpandingBaseTypes2.ts

13 lines
124 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
interface A<T>
{
x : A<()=>T>
}
interface B<T>
{
x : B<()=>T>
}
var a: A<string>
var b: B<string> = a