* Support multiple completions with the same name but different source module * Use optional parameters for source * Simplify use of `uniques` * Update test * Fix `undefined` error
12 lines
311 B
TypeScript
12 lines
311 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
// @Filename: /a.ts
|
|
////export function foo() {}
|
|
|
|
// @Filename: /b.ts
|
|
////import * as a from 'a';
|
|
/////**/
|
|
|
|
goTo.marker("");
|
|
verify.completionListContains({ name: "foo", source: "/a" }, "function foo(): void", "", "function", /*spanIndex*/ undefined, /*hasAction*/ true);
|