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.
10 lines
275 B
TypeScript
10 lines
275 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
////interface WrappedArray<T> {
|
|
//// map<U>(iterator: (value: T) => U, context?: any): U[];
|
|
////}
|
|
////var x: WrappedArray<string>;
|
|
////var /**/y = x.map(s => s.length);
|
|
|
|
goTo.marker();
|
|
verify.quickInfoIs('var y: number[]');
|