mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-04-17 01:49:41 -05:00
Fix bug: VariableDeclaration initializer may be undefined (#24256)
This commit is contained in:
@@ -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;`,
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user