TypeScript/tests/cases/fourslash/moveToNewFile_prologueDirectives1.ts

24 lines
303 B
TypeScript

/// <reference path='fourslash.ts' />
// @Filename: /a.ts
////"use strict";
////[|function b() {
//// return this;
////}|]
////b();
verify.moveToNewFile({
newFileContents: {
"/a.ts":
`"use strict";
b();`,
"/b.ts":
`"use strict";
function b() {
return this;
}
`,
},
});