Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix import typeof in declare module (#10132)
- Loading branch information
1 parent
31fc1d0
commit 1d3f981
Showing
3 changed files
with
111 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
packages/babel-parser/test/fixtures/flow/declare-module/import/input.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
declare module "M" { import type T from "TM"; } | ||
declare module "M" { | ||
import type T from "TM"; | ||
import typeof U from "UM"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters