22 lines
341 B
TypeScript
22 lines
341 B
TypeScript
|
/// <reference path='fourslash.ts' />
|
||
|
|
||
|
// @Filename: /a.ts
|
||
|
////[|function f() {
|
||
|
//// const x = 0;
|
||
|
////}|]
|
||
|
|
||
|
var copy = format.copyFormatOptions();
|
||
|
copy.ConvertTabsToSpaces = false;
|
||
|
format.setFormatOptions(copy);
|
||
|
|
||
|
verify.moveToNewFile({
|
||
|
newFileContents: {
|
||
|
"/a.ts":
|
||
|
``,
|
||
|
"/f.ts":
|
||
|
`function f() {
|
||
|
const x = 0;
|
||
|
}`,
|
||
|
},
|
||
|
});
|