Skip to content

Commit 1cf1601

Browse files
committed
expectExactType
1 parent 68a85f2 commit 1cf1601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolkit/src/tests/createSlice.typetest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ const value = actionCreators.anyKey
861861
* Test: buildCreateSlice
862862
*/
863863
{
864-
expectType<typeof createSlice>(buildCreateSlice())
864+
expectExactType(createSlice)(buildCreateSlice())
865865
buildCreateSlice({
866866
// @ts-expect-error not possible to recreate shape because symbol is not exported
867867
creators: { asyncThunk: { [Symbol()]: createAsyncThunk } },

0 commit comments

Comments
 (0)