Fix bug: VariableDeclaration initializer may be undefined (#24256)

This commit is contained in:
Andy authored and GitHub committed 2018-05-21 07:58:33 -07:00
1 parent 153c1806d3
commit c09cc70ebe
2 files changed
+4 -2

No files matched your search

@@ -2,6 +2,7 @@
// @Filename: /a.ts
////[|import { a, b } from "m";
////let l;
////a;|]
////b;
@@ -10,8 +11,9 @@ verify.moveToNewFile({
"/a.ts":
`import { b } from "m";
b;`,
"/newFile.ts":
"/l.ts":
`import { a } from "m";
let l;
a;`,
}
});