2018-06-07 21:10:48 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @Filename: /a.ts
|
|
|
|
////import 'unrelated';
|
|
|
|
////
|
|
|
|
////[|const x = 0;|]
|
|
|
|
////x;
|
|
|
|
|
|
|
|
verify.moveToNewFile({
|
|
|
|
newFileContents: {
|
|
|
|
"/a.ts":
|
2018-06-15 00:41:47 +02:00
|
|
|
`import 'unrelated';
|
|
|
|
import { x } from './x';
|
2018-06-07 21:10:48 +02:00
|
|
|
|
|
|
|
x;`,
|
|
|
|
|
|
|
|
"/x.ts":
|
2018-10-24 01:10:26 +02:00
|
|
|
`export const x = 0;
|
|
|
|
`,
|
2018-06-07 21:10:48 +02:00
|
|
|
},
|
|
|
|
});
|