File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
packages/toolkit/src/query/tests Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -498,18 +498,23 @@ describe('type tests', () => {
498498 id : number
499499 } > ( )
500500 expectTypeOf ( api . endpoints . query . Types . ResultType ) . toEqualTypeOf < Post > ( )
501+ expectTypeOf ( api . endpoints . query . Types . RawResultType ) . toBeAny ( )
501502
502503 expectTypeOf ( api . endpoints . query2 . Types . QueryArg ) . toEqualTypeOf < {
503504 id : number
504505 } > ( )
505506 expectTypeOf (
506507 api . endpoints . query2 . Types . ResultType ,
507508 ) . toEqualTypeOf < Post > ( )
509+ expectTypeOf ( api . endpoints . query2 . Types . RawResultType ) . toBeAny ( )
508510
509511 expectTypeOf ( api . endpoints . query3 . Types . QueryArg ) . toEqualTypeOf < void > ( )
510512 expectTypeOf ( api . endpoints . query3 . Types . ResultType ) . toEqualTypeOf <
511513 EntityState < Post , Post [ 'id' ] >
512514 > ( )
515+ expectTypeOf ( api . endpoints . query3 . Types . RawResultType ) . toEqualTypeOf <
516+ Post [ ]
517+ > ( )
513518 } )
514519 } )
515520 } )
You can’t perform that action at this time.
0 commit comments