From 20c4a65ee8fc95b8d813fc6090d474d9354da973 Mon Sep 17 00:00:00 2001 From: Alex Hunt Date: Thu, 16 Mar 2023 08:26:14 -0700 Subject: [PATCH] Align GetTransformOptions type to return partial options Summary: Context + tests: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/64775/files#r1138424007 Reviewed By: jacdebug Differential Revision: D44131338 fbshipit-source-id: 929df76fde819062390275fe2df4bf01861e424f --- packages/metro-config/src/configTypes.flow.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/metro-config/src/configTypes.flow.js b/packages/metro-config/src/configTypes.flow.js index 8300d393cf..35c6f0fe59 100644 --- a/packages/metro-config/src/configTypes.flow.js +++ b/packages/metro-config/src/configTypes.flow.js @@ -48,7 +48,7 @@ export type GetTransformOptions = ( entryPoints: $ReadOnlyArray, options: GetTransformOptionsOpts, getDependenciesOf: (string) => Promise>, -) => Promise; +) => Promise>; export type Middleware = ( IncomingMessage,