Skip to content

Commit

Permalink
Fix type test
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt-Ord committed Feb 18, 2023
1 parent 5d5665b commit 3322f1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/toolkit/src/entities/sorted_state_adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export function createSortedStateAdapter<T, Id extends EntityId>(
let appliedUpdates = false

for (let update of updates) {
const entity = state.entities[update.id]
const entity: T | undefined = state.entities[update.id]
if (!entity) {
continue
}
Expand Down
3 changes: 1 addition & 2 deletions packages/toolkit/src/query/react/buildHooks.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { AnyAction, ThunkAction, ThunkDispatch } from '@reduxjs/toolkit'
import type { AnyAction, Selector, ThunkAction, ThunkDispatch } from '@reduxjs/toolkit'
import { createSelector } from '@reduxjs/toolkit'
import type { Selector } from '@reduxjs/toolkit'
import type { DependencyList } from 'react'
import {
useCallback,
Expand Down

0 comments on commit 3322f1c

Please sign in to comment.