File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1- import type { AnyFunction } from '@internal/tsHelpers'
21import type {
32 CreateSelectorFunction ,
43 Selector ,
54 UnknownMemoizer ,
65} from 'reselect'
76import { createDraftSafeSelector } from '../createDraftSafeSelector'
7+ import type { AnyFunction } from '../tsHelpers'
88import type { EntityId , EntitySelectors , EntityState } from './models'
99
1010type AnyCreateSelectorFunction = CreateSelectorFunction <
Original file line number Diff line number Diff line change 1- import type { AnyNonNullishValue } from '@internal/tsHelpers'
21import type {
32 Action ,
43 Middleware ,
54 ThunkDispatch ,
65 UnknownAction ,
76} from '@reduxjs/toolkit'
7+ import type { AnyNonNullishValue } from '../../../tsHelpers'
88import type {
99 EndpointDefinitions ,
1010 FullTagDescription ,
Original file line number Diff line number Diff line change 1- import type { AnyNonNullishValue , EmptyObject } from '@internal/tsHelpers'
21import type {
32 Action ,
43 AsyncThunkAction ,
@@ -7,6 +6,7 @@ import type {
76 ThunkDispatch ,
87 UnknownAction ,
98} from '@reduxjs/toolkit'
9+ import type { AnyNonNullishValue , EmptyObject } from '../../../tsHelpers'
1010import type { Api , ApiContext } from '../../apiTypes'
1111import type {
1212 AssertTagTypes ,
Original file line number Diff line number Diff line change 11/**
22 * Note: this file should import all other files for type discovery and declaration merging
33 */
4- import type { AnyNonNullishValue , AnyObject } from '@internal/tsHelpers'
54import type {
65 ActionCreatorWithPayload ,
76 Middleware ,
@@ -11,6 +10,7 @@ import type {
1110 UnknownAction ,
1211} from '@reduxjs/toolkit'
1312import { enablePatches } from 'immer'
13+ import type { AnyNonNullishValue , AnyObject } from '../../tsHelpers'
1414import type { Api , Module } from '../apiTypes'
1515import type { BaseQueryFn } from '../baseQueryTypes'
1616import type { InternalSerializeQueryArgs } from '../defaultSerializeQueryArgs'
Original file line number Diff line number Diff line change 1- import type { AnyFunction , AnyNonNullishValue } from '@internal/tsHelpers'
21import type { Api } from '@reduxjs/toolkit/query'
2+ import type { AnyFunction , EmptyObject } from '../tsHelpers'
33import type {
44 BaseQueryApi ,
55 BaseQueryArg ,
@@ -194,7 +194,7 @@ export type BaseEndpointDefinition<
194194 BaseQuery extends BaseQueryFn ,
195195 ResultType ,
196196> = (
197- | ( [ CastAny < BaseQueryResult < BaseQuery > , AnyNonNullishValue > ] extends [ NEVER ]
197+ | ( [ CastAny < BaseQueryResult < BaseQuery > , EmptyObject > ] extends [ NEVER ]
198198 ? never
199199 : EndpointDefinitionWithQuery < QueryArg , BaseQuery , ResultType > )
200200 | EndpointDefinitionWithQueryFn < QueryArg , BaseQuery , ResultType >
Original file line number Diff line number Diff line change @@ -43,14 +43,14 @@ import {
4343 useState ,
4444} from 'react'
4545import { shallowEqual } from 'react-redux'
46+ import type { AnyObject } from '../../tsHelpers'
4647import type { SubscriptionSelectors } from '../core'
4748import { defaultSerializeQueryArgs } from '../defaultSerializeQueryArgs'
4849import type { UninitializedValue } from './constants'
4950import { UNINITIALIZED_VALUE } from './constants'
5051import type { ReactHooksModuleOptions } from './module'
5152import { useStableQueryArgs } from './useSerializedStableValue'
5253import { useShallowStableValue } from './useShallowStableValue'
53- import type { AnyObject } from '@internal/tsHelpers'
5454
5555// Copy-pasted from React-Redux
5656const canUseDOM = ( ) =>
You can’t perform that action at this time.
0 commit comments