2018-05-21 19:48:50 +02:00
|
|
|
/// <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,
|
2019-05-16 23:46:10 +02:00
|
|
|
sortText: completion.SortText.AutoImportSuggestions
|
2018-05-21 19:48:50 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "bar",
|
|
|
|
text: "const bar: 0",
|
|
|
|
source: "/a",
|
|
|
|
sourceDisplay: "./a",
|
|
|
|
hasAction: true,
|
2019-05-16 23:46:10 +02:00
|
|
|
sortText: completion.SortText.AutoImportSuggestions
|
2018-05-21 19:48:50 +02:00
|
|
|
},
|
|
|
|
],
|
|
|
|
preferences: {
|
|
|
|
includeCompletionsForModuleExports: true,
|
|
|
|
},
|
|
|
|
});
|