diff --git a/tools/hermes-parser/js/.flowconfig b/tools/hermes-parser/js/.flowconfig index 749d39a96d6..286d75cf77a 100644 --- a/tools/hermes-parser/js/.flowconfig +++ b/tools/hermes-parser/js/.flowconfig @@ -26,6 +26,8 @@ module.name_mapper='^prettier-plugin-hermes-parser$' -> '/prettier component_syntax=true enums=true +experimental.natural_inference.object_freeze=true + [version] ^0.247.1