TypeScript/tests/cases/fourslash/quickInfoOnCircularTypes.ts
Cyrus Najmabadi eed6f0deca Use an output format for quickinfo that more closely matches the original source.
i.e. use  "var v: string" instead of "(var) v: string".

The parens case should only be used when we're using an english description instead of
an actual language construct.
2015-03-24 00:16:49 -07:00

21 lines
406 B
TypeScript

/// <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');
verify.quickInfoIs('var xx: B');
goTo.marker('C');
verify.quickInfoIs('var yy: C');