2018-01-11 22:42:08 +01:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
2018-04-02 19:21:14 +02:00
|
|
|
// @module: esnext
|
|
|
|
|
2018-01-11 22:42:08 +01:00
|
|
|
// @Filename: /b.d.ts
|
|
|
|
////declare namespace N {
|
|
|
|
//// export const foo: number;
|
|
|
|
////}
|
|
|
|
////declare module "n" {
|
|
|
|
//// export = N;
|
|
|
|
////}
|
|
|
|
|
|
|
|
// @Filename: /c.d.ts
|
|
|
|
////declare namespace N {}
|
|
|
|
|
|
|
|
// @Filename: /a.ts
|
|
|
|
////fo/**/
|
|
|
|
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.completions({
|
|
|
|
marker: "",
|
2018-10-30 19:56:34 +01:00
|
|
|
includes: {
|
|
|
|
name: "foo",
|
|
|
|
source: "n",
|
|
|
|
sourceDisplay: "n",
|
|
|
|
text: "const N.foo: number",
|
|
|
|
kind: "const",
|
|
|
|
kindModifiers: "export,declare",
|
|
|
|
hasAction: true,
|
2019-05-16 23:46:10 +02:00
|
|
|
sortText: completion.SortText.AutoImportSuggestions
|
2018-10-30 19:56:34 +01:00
|
|
|
},
|
2018-10-29 18:03:25 +01:00
|
|
|
preferences: { includeCompletionsForModuleExports: true },
|
2018-01-11 22:42:08 +01:00
|
|
|
});
|