@@ -10,25 +10,25 @@ const _check2: typeof rsc = {} as typeof normal
1010
1111// -------------------------------------------------------------------------------------
1212
13- function throwNotSupportedError (
13+ const throwNotSupportedError = ( (
1414 // eslint-disable-next-line @typescript-eslint/no-unused-vars
1515 ...args : any [ ]
16- ) : any {
16+ ) : any => {
1717 throw new Error (
1818 'This function is not supported in React Server Components. Please only use this export in a Client Component.' ,
1919 )
20- }
20+ } ) as any
2121
2222export {
23- throwNotSupportedError as batch ,
2423 throwNotSupportedError as Provider ,
24+ throwNotSupportedError as batch ,
2525 throwNotSupportedError as connect ,
26- throwNotSupportedError as useSelector ,
27- throwNotSupportedError as useDispatch ,
28- throwNotSupportedError as useStore ,
2926 throwNotSupportedError as createDispatchHook ,
3027 throwNotSupportedError as createSelectorHook ,
3128 throwNotSupportedError as createStoreHook ,
29+ throwNotSupportedError as useDispatch ,
30+ throwNotSupportedError as useSelector ,
31+ throwNotSupportedError as useStore ,
3232}
3333export const ReactReduxContext = { } as any
3434export { default as shallowEqual } from './utils/shallowEqual'
0 commit comments