Skip to content

Commit c231da4

Browse files
committed
Remove redundant returns.resolves assertion
1 parent 819e241 commit c231da4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/toolkit/src/query/tests/buildHooks.test-d.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,6 @@ describe('type tests', () => {
123123

124124
expectTypeOf(res.abort).toEqualTypeOf<() => void>()
125125

126-
expectTypeOf(res.unwrap).returns.resolves.toEqualTypeOf<{
127-
name: string
128-
}>()
129-
130126
expectTypeOf(res.unsubscribe).toEqualTypeOf<() => void>()
131127

132128
expectTypeOf(res.updateSubscriptionOptions).toEqualTypeOf<

0 commit comments

Comments
 (0)