2018-10-22 20:44:06 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @Filename: /a.ts
|
|
|
|
////[|export const [x, { p: y }] = [0, { p: 1 }];|]
|
|
|
|
|
|
|
|
// @Filename: /b.ts
|
|
|
|
////import { x, y } from "./a";
|
|
|
|
|
|
|
|
verify.noErrors();
|
|
|
|
|
|
|
|
verify.moveToNewFile({
|
|
|
|
newFileContents: {
|
|
|
|
"/a.ts": "",
|
|
|
|
|
|
|
|
"/x.ts":
|
2018-10-24 01:10:26 +02:00
|
|
|
`export const [x, { p: y }] = [0, { p: 1 }];
|
|
|
|
`,
|
2018-10-22 20:44:06 +02:00
|
|
|
|
|
|
|
"/b.ts":
|
|
|
|
`
|
|
|
|
import { x, y } from "./x";
|
|
|
|
`,
|
|
|
|
},
|
|
|
|
});
|