00cea41b65
Fixes #15024
38 lines
826 B
TypeScript
38 lines
826 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
// @Filename: /a.ts
|
|
////export const foo = 0;
|
|
|
|
// @Filename: /bar.ts
|
|
////export {};
|
|
////declare module "./a" {
|
|
//// export const bar = 0;
|
|
////}
|
|
|
|
// @Filename: /user.ts
|
|
/////**/
|
|
|
|
verify.completions({
|
|
marker: "",
|
|
includes: [
|
|
{
|
|
name: "foo",
|
|
text: "const foo: 0",
|
|
source: "/a",
|
|
sourceDisplay: "./a",
|
|
hasAction: true,
|
|
sortText: completion.SortText.AutoImportSuggestions
|
|
},
|
|
{
|
|
name: "bar",
|
|
text: "const bar: 0",
|
|
source: "/a",
|
|
sourceDisplay: "./a",
|
|
hasAction: true,
|
|
sortText: completion.SortText.AutoImportSuggestions
|
|
},
|
|
],
|
|
preferences: {
|
|
includeCompletionsForModuleExports: true,
|
|
},
|
|
});
|