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