9615e54e13
* 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
13 lines
287 B
TypeScript
13 lines
287 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
// @Filename: /a.ts
|
|
////export const foo = 0;
|
|
|
|
// @Filename: /b.ts
|
|
////const foo = 1;
|
|
////fo/**/
|
|
|
|
goTo.marker("");
|
|
verify.completionListContains("foo", "const foo: 1", "", "const");
|
|
verify.not.completionListContains({ name: "foo", source: "/a" });
|