14 lines
303 B
TypeScript
14 lines
303 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
////interface Foo<T> extends Array<T> { }
|
|
////var x: Foo<string>;
|
|
////var /*1*/r = x[0];
|
|
|
|
////interface Foo2 extends Array<string> { }
|
|
////var x2: Foo2;
|
|
////var /*2*/r2 = x2[0];
|
|
|
|
verify.quickInfos({
|
|
1: "var r: string",
|
|
2: "var r2: string"
|
|
});
|