TypeScript/tests/cases/fourslash/quickInfoForDerivedGenericTypeWithConstructor.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

20 lines
416 B
TypeScript

/// <reference path='fourslash.ts'/>
////class A<T> {
//// foo() { }
////}
////class B<T> extends A<T> {
//// bar() { }
//// constructor() { super() }
////}
////class B2<T> extends A<T> {
//// bar() { }
////}
////var /*1*/b: B<number>;
////var /*2*/b2: B<number>;
goTo.marker('1');
verify.quickInfoIs('var b: B<number>');
goTo.marker('2');
verify.quickInfoIs('var b2: B<number>');