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.
15 lines
344 B
TypeScript
15 lines
344 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];
|
|
|
|
goTo.marker('1');
|
|
verify.quickInfoIs('var r: string');
|
|
|
|
goTo.marker('2');
|
|
verify.quickInfoIs('var r2: string');
|