[parser] Fix scope handling of Flow declared functions (#12735)
This commit is contained in:
2
packages/babel-parser/test/fixtures/flow/scope/declare-function-export/input.js
vendored
Normal file
2
packages/babel-parser/test/fixtures/flow/scope/declare-function-export/input.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
declare function foo(): void;
|
||||
export { foo };
|
||||
Reference in New Issue
Block a user