TypeScript/tests/cases/fourslash/moveToNewFile_moveImport.ts

22 lines
276 B
TypeScript
Raw Normal View History

/// <reference path='fourslash.ts' />
// @Filename: /a.ts
////[|import { a, b } from "m";
////let l;
////a;|]
////b;
verify.moveToNewFile({
newFileContents: {
"/a.ts":
`import { b } from "m";
b;`,
"/l.ts":
`import { a } from "m";
let l;
a;
`,
}
});