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
246 B
TypeScript
10 lines
246 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
////var x/*1*/x = true ? [1] : [undefined];
|
|
////var y/*2*/y = true ? [1] : [];
|
|
|
|
goTo.marker('1');
|
|
verify.quickInfoIs('var xx: number[]');
|
|
|
|
goTo.marker('2');
|
|
verify.quickInfoIs('var yy: number[]');
|