TypeScript/tests/cases/fourslash/constructorQuickInfo.ts

16 lines
346 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path='fourslash.ts'/>
////class SS<T>{}
////
////var x/*1*/1 = new SS<number>();
////var x/*2*/2 = new SS();
////var x/*3*/3 = new SS;
goTo.marker('1');
verify.quickInfoIs('(var) x1: SS<number>');
2014-07-13 01:04:16 +02:00
goTo.marker('2');
verify.quickInfoIs('(var) x2: SS<{}>');
2014-07-13 01:04:16 +02:00
goTo.marker('3');
verify.quickInfoIs('(var) x3: SS<{}>');