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.
19 lines
497 B
TypeScript
19 lines
497 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
////function /*1*/foo() {
|
|
//// function /*2*/bar2() {
|
|
//// }
|
|
//// var y = function /*3*/bar3() {
|
|
//// }
|
|
////}
|
|
////var x = function /*4*/bar4() {
|
|
////}
|
|
|
|
goTo.marker("1");
|
|
verify.quickInfoIs('function foo(): void');
|
|
goTo.marker("2");
|
|
verify.quickInfoIs('(local function) bar2(): void');
|
|
goTo.marker("3");
|
|
verify.quickInfoIs('(local function) bar3(): void');
|
|
goTo.marker("4");
|
|
verify.quickInfoIs('(local function) bar4(): void');
|