2018-05-30 00:52:34 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
// @Filename: /node_modules/a/index.d.ts
|
|
|
|
////declare namespace core {
|
|
|
|
//// const foo: number;
|
|
|
|
////}
|
|
|
|
////declare module "a" {
|
|
|
|
//// export = core;
|
|
|
|
////}
|
|
|
|
////declare module "a/alias" {
|
|
|
|
//// export = core;
|
|
|
|
////}
|
|
|
|
|
|
|
|
// @Filename: /user.ts
|
|
|
|
////import * as a from "a";
|
|
|
|
/////**/foo;
|
|
|
|
|
|
|
|
verify.completions({
|
|
|
|
marker: "",
|
|
|
|
// Tester will assert that it is only included once
|
2019-05-16 23:46:10 +02:00
|
|
|
includes: [{ name: "foo", source: "a", hasAction: true, sortText: completion.SortText.AutoImportSuggestions }],
|
2018-05-30 00:52:34 +02:00
|
|
|
preferences: {
|
|
|
|
includeCompletionsForModuleExports: true,
|
|
|
|
}
|
|
|
|
});
|