22 lines
516 B
TypeScript
22 lines
516 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
////class Foo {
|
|
////}
|
|
////module Foo {
|
|
//// export var x: number;
|
|
////}
|
|
////Foo./**/
|
|
|
|
const exact: ReadonlyArray<FourSlashInterface.ExpectedCompletionEntry> = [
|
|
"prototype",
|
|
{ name: "x", text: "var Foo.x: number" },
|
|
...completion.functionMembers,
|
|
];
|
|
verify.completions({ marker: "", exact });
|
|
|
|
// Make an edit
|
|
edit.insert("a");
|
|
edit.backspace();
|
|
|
|
// Checking for completion details after edit should work too
|
|
verify.completions({ exact });
|