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.
18 lines
423 B
TypeScript
18 lines
423 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
////interface A<T> { }
|
|
////
|
|
////function ma/*makeA*/keA<T>(t: T): A<T> { return null; }
|
|
////
|
|
////function /*f*/f<T>(t: T) {
|
|
//// return makeA(t);
|
|
////}
|
|
////
|
|
////var x = f(0);
|
|
////var y = makeA(0);
|
|
|
|
goTo.marker("makeA");
|
|
verify.quickInfoIs("function makeA<T>(t: T): A<T>", undefined);
|
|
|
|
goTo.marker("f");
|
|
verify.quickInfoIs("function f<T>(t: T): A<T>", undefined);
|