cff04e6050
* Ensure JsonSourceFile has all the non-optional properties of SourceFile * Set properties in parseSourceFile
18 lines
333 B
TypeScript
18 lines
333 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @resolveJsonModule: true
|
|
|
|
// @Filename: /a.ts
|
|
////import text from "./message.json";
|
|
|
|
// @Filename: /message.json
|
|
////{}
|
|
|
|
verify.getEditsForFileRename({
|
|
oldPath: "/a.ts",
|
|
newPath: "/src/a.ts",
|
|
newFileContents: {
|
|
"/a.ts": 'import text from "../message.json";',
|
|
},
|
|
});
|