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
215 B
TypeScript
10 lines
215 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
////export interface Album<T> {
|
|
//// "artist": T;
|
|
////}
|
|
////var a: Album<number>;
|
|
////var /**/x = a['artist'];
|
|
|
|
goTo.marker();
|
|
verify.quickInfoIs('var x: number');
|