* Add generateTypesForModule to public API * Avoid parameter initializer and update baselines
22 lines
342 B
TypeScript
22 lines
342 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;
|
|
}
|
|
`,
|
|
},
|
|
});
|