b834096998
* 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?)
20 lines
319 B
TypeScript
20 lines
319 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @Filename: /a.ts
|
|
////import i = require("./i");
|
|
////import j = require("./j");
|
|
////[|const y = i;|]
|
|
////j;
|
|
|
|
verify.moveToNewFile({
|
|
newFileContents: {
|
|
"/a.ts":
|
|
`import j = require("./j");
|
|
j;`,
|
|
"/y.ts":
|
|
`import i = require("./i");
|
|
|
|
const y = i;
|
|
`,
|
|
},
|
|
});
|