diff --git a/packages/react-server/src/ReactFlightActionServer.js b/packages/react-server/src/ReactFlightActionServer.js index 07e538fac1ece..ee735c2e8f9a2 100644 --- a/packages/react-server/src/ReactFlightActionServer.js +++ b/packages/react-server/src/ReactFlightActionServer.js @@ -10,7 +10,6 @@ import type {Thenable} from 'shared/ReactTypes'; import type { - ServerReferenceId, ServerManifest, ClientReference as ServerReference, } from 'react-client/src/ReactFlightClientConfig'; @@ -23,6 +22,8 @@ import { import {createResponse, close, getRoot} from './ReactFlightReplyServer'; +type ServerReferenceId = any; + function bindArgs(fn: any, args: any) { return fn.bind.apply(fn, [null].concat(args)); }