Skip to content

Commit ebfd549

Browse files
committed
fix test
1 parent 4db2dcc commit ebfd549

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

packages/toolkit/src/entities/tests/entity_slice_enhancer.test.ts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
import { createEntityAdapter, createSlice } from '../..'
2-
import type {
3-
PayloadAction,
4-
Slice,
5-
SliceCaseReducers,
6-
UnknownAction,
7-
} from '../..'
8-
import type { EntityId, EntityState, IdSelector } from '../models'
2+
import type { PayloadAction, SliceCaseReducers, UnknownAction } from '../..'
3+
import type { EntityId, IdSelector } from '../models'
94
import type { BookModel } from './fixtures/book'
105

116
describe('Entity Slice Enhancer', () => {
12-
let slice: Slice<EntityState<BookModel, BookModel['id']>>
7+
let slice: ReturnType<typeof entitySliceEnhancer<BookModel, string>>
138

149
beforeEach(() => {
1510
const indieSlice = entitySliceEnhancer({

0 commit comments

Comments
 (0)