TypeScript/tests/cases/fourslash/moveToNewFile_selectionOnName.ts

22 lines
374 B
TypeScript
Raw Normal View History

/// <reference path='fourslash.ts' />
// @Filename: /a.ts
////export {};
////function e[|f|]f() { gee(); }
////function gee() { eff(); }
verify.moveToNewFile({
newFileContents: {
"/a.ts":
`import { eff } from "./eff";
export {};
export function gee() { eff(); }`,
"/eff.ts":
`import { gee } from "./a";
export function eff() { gee(); }
`,
},
});