2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
////interface Foo<T> extends Array<T> { }
|
|
|
|
////var x: Foo<string>;
|
2014-10-07 20:30:27 +02:00
|
|
|
////var /*1*/r = x[0];
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
////interface Foo2 extends Array<string> { }
|
|
|
|
////var x2: Foo2;
|
2014-10-07 20:30:27 +02:00
|
|
|
////var /*2*/r2 = x2[0];
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('1');
|
2014-10-07 20:30:27 +02:00
|
|
|
verify.quickInfoIs('(var) r: string');
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('2');
|
2014-10-07 20:30:27 +02:00
|
|
|
verify.quickInfoIs('(var) r2: string');
|