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
373 B
TypeScript
19 lines
373 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
////class Foo {
|
|
////}
|
|
////module Foo {
|
|
//// export var x: number;
|
|
////}
|
|
////Foo./**/
|
|
|
|
goTo.marker("");
|
|
verify.completionListContains("x");
|
|
|
|
// Make an edit
|
|
edit.insert("a");
|
|
edit.backspace();
|
|
|
|
// Checking for completion details after edit should work too
|
|
verify.completionEntryDetailIs("x", "var Foo.x: number");
|