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