Skip to content

Commit

Permalink
Drop duplicate declaration of lodash-es/create module (#4430)
Browse files Browse the repository at this point in the history
In current versions of Flow this duplicate cause flow to crash with "Should have been excluded: .$module__lodash-es/create"

I found the log entry when running flow server with --temp-dir flag and looking at the log file generated in this temp dir:

Unhandled exception: (Failure "Should have been excluded: .$module__lodash-es/create")
Raised at Stdlib.failwith in file "stdlib.ml", line 29, characters 17-33
Called from Env.init_builtins_from_libdef.(fun) in file "src/typing/env.ml", line 917, characters 6-35
  • Loading branch information
whut committed Apr 10, 2023
1 parent 5969116 commit 8beebb1
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -1989,9 +1989,6 @@ declare module "lodash-es/at" {
declare module "lodash-es/create" {
declare export default $PropertyType<$Exports<"lodash-es">, "create">;
}
declare module "lodash-es/create" {
declare export default $PropertyType<$Exports<"lodash-es">, "create">;
}
declare module "lodash-es/defaults" {
declare export default $PropertyType<$Exports<"lodash-es">, "defaults">;
}
Expand Down

0 comments on commit 8beebb1

Please sign in to comment.