* Fix #37948 * Fix formatter skipping tab/space fixup on comments, handle trailing commas in list closing line count. Fixes #37944 * Add newline between imports and main body of new file in moveToNewFile Fixes #37941 * Update baseline (probably broken before?)
22 lines
374 B
TypeScript
22 lines
374 B
TypeScript
/// <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(); }
|
|
`,
|
|
},
|
|
});
|