Skip to content

Commit 7ff4c25

Browse files
committed
Fix @typescript-eslint/no-empty-object-type related issues
1 parent db096d8 commit 7ff4c25

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

packages/toolkit/src/tests/createSlice.test-d.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -902,13 +902,7 @@ describe('type tests', () => {
902902
>()
903903

904904
expectTypeOf(slice.actions.testInferVoid).toEqualTypeOf<
905-
AsyncThunk<
906-
void,
907-
void,
908-
{
909-
/* empty */
910-
}
911-
>
905+
AsyncThunk<void, void, EmptyObject>
912906
>()
913907

914908
expectTypeOf(slice.actions.testInferVoid).toBeCallableWith()

0 commit comments

Comments
 (0)