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