TypeScript/tests/cases/fourslash/moveToNewFile_rangeSemiValid.ts
Andy eadf44d073
Add generateTypesForModule to public API (#28069)
* Add generateTypesForModule to public API

* Avoid parameter initializer and update baselines
2018-10-23 16:10:26 -07:00

20 lines
262 B
TypeScript

/// <reference path='fourslash.ts' />
// @Filename: /a.ts
////[|const x = 0;
////
/////** Comm|]ent */
////const y = 0;
verify.moveToNewFile({
newFileContents: {
"/a.ts":
`/** Comment */
const y = 0;`,
"/x.ts":
`const x = 0;
`,
},
});