TypeScript/tests/cases/fourslash/quickInfoForDerivedGenericTypeWithConstructor.ts

20 lines
418 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path='fourslash.ts'/>
////class A<T> {
//// foo() { }
////}
////class B<T> extends A<T> {
//// bar() { }
//// constructor() { super() }
////}
////class B2<T> extends A<T> {
//// bar() { }
////}
2014-09-30 22:51:47 +02:00
////var /*1*/b: B<number>;
////var /*2*/b2: B<number>;
2014-07-13 01:04:16 +02:00
goTo.marker('1');
2014-09-30 22:51:47 +02:00
verify.quickInfoIs('(var) b: B<number>');
2014-07-13 01:04:16 +02:00
goTo.marker('2');
2014-09-30 22:51:47 +02:00
verify.quickInfoIs('(var) b2: B<number>');