diff --git a/.flowconfig b/.flowconfig index 5e4dcf43d4..008df0261d 100644 --- a/.flowconfig +++ b/.flowconfig @@ -38,4 +38,4 @@ untyped-import untyped-type-import [version] -^0.340.0 +^0.341.0 diff --git a/flow-typed/environment/node.js b/flow-typed/environment/node.js index b82b7dfb38..919e991cb2 100644 --- a/flow-typed/environment/node.js +++ b/flow-typed/environment/node.js @@ -539,9 +539,9 @@ declare module 'child_process' { ? StreamForChannel : E extends string ? null - : E[FD] extends child_process$StdioPipe + : NonNullable[FD] extends child_process$StdioPipe ? StreamForChannel - : E[FD] extends string | number + : NonNullable[FD] extends string | number ? null : null | StreamForChannel : PipeByDefault extends true diff --git a/package.json b/package.json index 9d17b1d0eb..432850891e 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "eslint-plugin-react": "^7.37.5", "eslint-plugin-relay": "^1.8.3", "flow-api-translator": "0.340.0", - "flow-bin": "^0.340.0", + "flow-bin": "^0.341.0", "flow-eslint": "0.340.0", "flow-estree": "0.340.0", "flow-parser": "0.340.0", diff --git a/yarn.lock b/yarn.lock index d383be4897..135487c571 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3399,10 +3399,10 @@ flow-api-translator@0.340.0: flow-transform "0.340.0" typescript "5.3.2" -flow-bin@^0.340.0: - version "0.340.0" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.340.0.tgz#f3edbe6f235c9bc9ff735e5cae1dc8b0a96d55f7" - integrity sha512-XourZh2487go6B2RTIssruf5iH1rVATg7IdE8CGfMbey/93RJR5HTsqQEgVK33lmGhew8fTRLZmeSEyMVubMpw== +flow-bin@^0.341.0: + version "0.341.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.341.0.tgz#e10bd44a3031f84d7c091f3380d3dcf53af26b40" + integrity sha512-NgsIhAk4TNRXRHro00uu+dI0fUsrL8w1jcdQOIXLVxU9YS6YyrwbvxGJr5RQXtRqeu2ScN+oXfJG7ooMH7HlXw== flow-enums-runtime@^0.0.6: version "0.0.6"