From a78d3921c091008c98e2f4a66cc0d6728f76d54c Mon Sep 17 00:00:00 2001 From: Panos Vekris Date: Thu, 12 Dec 2024 02:01:35 -0800 Subject: [PATCH] remove as_const option (on by default) in fbsource Summary: X-link: https://github.com/facebook/react-native/pull/48227 This option is on by default in Flow v0.256 Reviewed By: gkz Differential Revision: D67117062 fbshipit-source-id: 1595afe48178529ad43b33a215d84ff225cf9fa9 --- tools/hermes-parser/js/.flowconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/hermes-parser/js/.flowconfig b/tools/hermes-parser/js/.flowconfig index 79a5b10bf49..d1a3c48b590 100644 --- a/tools/hermes-parser/js/.flowconfig +++ b/tools/hermes-parser/js/.flowconfig @@ -26,7 +26,6 @@ module.name_mapper='^prettier-plugin-hermes-parser$' -> '/prettier component_syntax=true enums=true -as_const=true experimental.natural_inference.exports.primitive_const=true [version]