* Add generateTypesForModule to public API * Avoid parameter initializer and update baselines
27 lines
375 B
TypeScript
27 lines
375 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @Filename: /a.ts
|
|
////[|export default function f() { }|]
|
|
////f();
|
|
|
|
// @Filename: /user.ts
|
|
////import f from "./a";
|
|
////f();
|
|
|
|
verify.moveToNewFile({
|
|
newFileContents: {
|
|
"/a.ts":
|
|
`import f from "./f";
|
|
|
|
f();`,
|
|
|
|
"/f.ts":
|
|
`export default function f() { }
|
|
`,
|
|
|
|
"/user.ts":
|
|
`import f from "./f";
|
|
f();`,
|
|
},
|
|
});
|