2018-05-10 20:17:04 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @Filename: /a.ts
|
|
|
|
////namespace N { export const x = 0; }
|
|
|
|
////[|import M = N;
|
|
|
|
////export import O = N;|]
|
|
|
|
////M;
|
|
|
|
|
|
|
|
verify.moveToNewFile({
|
|
|
|
newFileContents: {
|
|
|
|
"/a.ts":
|
2018-05-17 18:54:47 +02:00
|
|
|
`export namespace N { export const x = 0; }
|
|
|
|
import M = N;
|
2018-05-10 20:17:04 +02:00
|
|
|
M;`,
|
|
|
|
|
2018-05-17 18:54:47 +02:00
|
|
|
"/O.ts":
|
2018-05-10 20:17:04 +02:00
|
|
|
`import { N } from "./a";
|
2020-07-22 19:31:42 +02:00
|
|
|
|
2018-10-24 01:10:26 +02:00
|
|
|
export import O = N;
|
|
|
|
`,
|
2018-05-10 20:17:04 +02:00
|
|
|
},
|
|
|
|
});
|