1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
/// <reference path="fourslash.ts" />
////class Foo {
////}
////module Foo {
//// export var x: number;
////}
////Foo./**/
const exact: ReadonlyArray<FourSlashInterface.ExpectedCompletionEntry> = completion.functionMembersPlus([
"prototype",
{ name: "x", text: "var Foo.x: number" },
]);
verify.completions({ marker: "", exact });
// Make an edit
edit.insert("a");
edit.backspace();
// Checking for completion details after edit should work too
verify.completions({ exact });
|