2018-05-17 21:38:20 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @Filename: /a.ts
|
|
|
|
////export {};
|
|
|
|
////let x;
|
|
|
|
////[|const y = x;|]
|
|
|
|
|
|
|
|
verify.moveToNewFile({
|
|
|
|
newFileContents: {
|
|
|
|
"/a.ts":
|
|
|
|
`export {};
|
|
|
|
export let x;
|
|
|
|
`,
|
|
|
|
|
|
|
|
"/y.ts":
|
|
|
|
`import { x } from "./a";
|
2020-07-22 19:31:42 +02:00
|
|
|
|
2018-10-24 01:10:26 +02:00
|
|
|
const y = x;
|
|
|
|
`,
|
2018-05-17 21:38:20 +02:00
|
|
|
},
|
|
|
|
});
|