Skip to content

Commit cdebb08

Browse files
panagosg7meta-codesync[bot]
authored andcommitted
Deploy 0.341.0 to xplat
Summary: [changelog](https://github.com/facebook/flow/blob/main/Changelog.md) ## Library definitions Flow 0.341.0 rejects the explicit exact object syntax `{| |}` and unnamed function type parameters, and checks type applications inside generic definitions. Relay's `flow-typed/` definitions for Babel, chalk and Jest now write exact objects as `{ }` (objects are exact by default, so the meaning is unchanged), and the second parameter of Babel's `traverse` is named. In the shared `child_process` definition used by Metro and React Native, `MaybeStream` infers `E` from the optional `stdio` option, so `E` includes `void`; its indexed accesses now read `NonNullable<E>[FD]`. Changelog: [Internal] Reviewed By: SamChou19815 Differential Revision: D133315654
1 parent bbfd391 commit cdebb08

4 files changed

Lines changed: 7 additions & 6 deletions

File tree

‎.flowconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,4 @@ untyped-import
119119
untyped-type-import
120120

121121
[version]
122-
^0.340.0
122+
^0.341.0

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"eslint-plugin-relay": "^1.8.3",
9999
"fb-dotslash": "0.5.8",
100100
"flow-api-translator": "0.340.0",
101-
"flow-bin": "^0.340.0",
101+
"flow-bin": "^0.341.0",
102102
"flow-eslint": "0.340.0",
103103
"flow-parser": "0.340.0",
104104
"flow-transform": "0.340.0",

‎packages/react-native/Libraries/StyleSheet/StyleSheetTypes.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,6 +1133,7 @@ type ____FlattenStyleProp_Helper<
11331133
: TStyleProp extends ReadonlyArray<infer V>
11341134
? ____FlattenStyleProp_Helper<
11351135
V,
1136+
// $FlowFixMe[incompatible-use]
11361137
Depth extends number ? FlattenDepthLimiter[Depth] : 0,
11371138
>
11381139
: TStyleProp;

‎yarn.lock‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4855,10 +4855,10 @@ flow-api-translator@0.340.0:
48554855
flow-transform "0.340.0"
48564856
typescript "5.3.2"
48574857

4858-
flow-bin@^0.340.0:
4859-
version "0.340.0"
4860-
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.340.0.tgz#f3edbe6f235c9bc9ff735e5cae1dc8b0a96d55f7"
4861-
integrity sha512-XourZh2487go6B2RTIssruf5iH1rVATg7IdE8CGfMbey/93RJR5HTsqQEgVK33lmGhew8fTRLZmeSEyMVubMpw==
4858+
flow-bin@^0.341.0:
4859+
version "0.341.0"
4860+
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.341.0.tgz#e10bd44a3031f84d7c091f3380d3dcf53af26b40"
4861+
integrity sha512-NgsIhAk4TNRXRHro00uu+dI0fUsrL8w1jcdQOIXLVxU9YS6YyrwbvxGJr5RQXtRqeu2ScN+oXfJG7ooMH7HlXw==
48624862

48634863
flow-enums-runtime@^0.0.6:
48644864
version "0.0.6"

0 commit comments

Comments
 (0)