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.
11 lines
247 B
TypeScript
11 lines
247 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
////interface I<T> { }
|
|
////class C<T> {}
|
|
////var /*1*/i: I<any>;
|
|
////var /*2*/c: C<I>;
|
|
|
|
goTo.marker('1');
|
|
verify.quickInfoIs('var i: I<any>');
|
|
goTo.marker('2');
|
|
verify.quickInfoIs('var c: C<any>');
|