2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
////interface A { (): B; };
|
|
|
|
////declare var a: A;
|
|
|
|
////var xx = a();
|
|
|
|
////
|
|
|
|
////interface B { (): C; };
|
|
|
|
////declare var b: B;
|
|
|
|
////var yy = b();
|
|
|
|
////
|
|
|
|
////interface C { (): A; };
|
|
|
|
////declare var c: C;
|
|
|
|
////var zz = c();
|
|
|
|
////
|
|
|
|
////x/*B*/x = y/*C*/y;
|
|
|
|
|
|
|
|
goTo.marker('B');
|
2014-09-29 18:45:39 +02:00
|
|
|
verify.quickInfoIs('(var) xx: B');
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('C');
|
2014-09-29 18:45:39 +02:00
|
|
|
verify.quickInfoIs('(var) yy: C');
|