Skip to content

Commit eeaa20c

Browse files
committed
Fix type test
1 parent 89f96f1 commit eeaa20c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolkit/src/query/tests/createApi.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ describe('type tests', () => {
3939

4040
expectTypeOf(api.util.invalidateTags)
4141
.parameter(0)
42-
.toEqualTypeOf<TagDescription<never>[]>()
42+
.toEqualTypeOf<(null | undefined | TagDescription<never>)[]>()
4343
})
4444

4545
describe('endpoint definition typings', () => {

0 commit comments

Comments
 (0)