* 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?)
23 lines
382 B
TypeScript
23 lines
382 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @Filename: /a.ts
|
|
////namespace N { export const x = 0; }
|
|
////[|import M = N;
|
|
////export import O = N;|]
|
|
////M;
|
|
|
|
verify.moveToNewFile({
|
|
newFileContents: {
|
|
"/a.ts":
|
|
`export namespace N { export const x = 0; }
|
|
import M = N;
|
|
M;`,
|
|
|
|
"/O.ts":
|
|
`import { N } from "./a";
|
|
|
|
export import O = N;
|
|
`,
|
|
},
|
|
});
|