eed6f0deca
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.
13 lines
No EOL
301 B
TypeScript
13 lines
No EOL
301 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
////class C<T> {
|
|
//// foo(x: T) { }
|
|
////}
|
|
////var x = new /*1*/C<any>();
|
|
////var y = C.proto/*2*/type;
|
|
|
|
goTo.marker('1');
|
|
verify.quickInfoIs('constructor C<any>(): C<any>');
|
|
|
|
goTo.marker('2');
|
|
verify.quickInfoIs('(property) C<T>.prototype: C<any>'); |