File tree 2 files changed +4
-4
lines changed
packages/react-server/src
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -118,9 +118,7 @@ import {
118
118
objectName ,
119
119
} from 'shared/ReactSerializationErrors' ;
120
120
121
- import type { SharedStateServer } from 'react/src/ReactSharedInternalsServer' ;
122
- import ReactSharedInternalsImpl from 'shared/ReactSharedInternals' ;
123
- const ReactSharedInternals : SharedStateServer = ( ReactSharedInternalsImpl : any ) ;
121
+ import ReactSharedInternals from './ReactSharedInternalsServer' ;
124
122
import isArray from 'shared/isArray' ;
125
123
import getPrototypeOf from 'shared/getPrototypeOf' ;
126
124
import binaryToComparableString from 'shared/binaryToComparableString' ;
Original file line number Diff line number Diff line change 7
7
* @flow
8
8
*/
9
9
10
+ import type { SharedStateServer } from 'react/src/ReactSharedInternalsServer' ;
11
+
10
12
import * as React from 'react' ;
11
13
12
- const ReactSharedInternalsServer =
14
+ const ReactSharedInternalsServer : SharedStateServer =
13
15
// $FlowFixMe: It's defined in the one we resolve to.
14
16
React . __SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE ;
15
17
You can’t perform that action at this time.
0 commit comments