Flow upgrade to 0.188

ghstack-source-id: 5c359b97cc
Pull Request resolved: https://github.com/facebook/react/pull/25423
This commit is contained in:
Jan Kassens
2022-10-04 15:39:26 -04:00
parent 3b6826ed9e
commit 9813edef29
17 changed files with 24 additions and 6 deletions

View File

@@ -18,6 +18,7 @@ function wrapWithHoc(Component, index) {
// $FlowFixMe
const displayName = Component.displayName || Component.name;
// $FlowFixMe[incompatible-type] found when upgrading Flow
HOC.displayName = `withHoc${index}(${displayName})`;
return HOC;
}