File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
packages/toolkit/src/query/tests Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -123,15 +123,13 @@ describe.skip('TS only tests', () => {
123
123
}
124
124
125
125
expectExactType ( '' as string | undefined ) ( result . currentData )
126
- // @ts -expect-error
127
126
expectExactType ( '' as string ) ( result . currentData )
128
127
129
128
if ( result . isSuccess ) {
130
129
if ( ! result . isFetching ) {
131
130
expectExactType ( '' as string ) ( result . currentData )
132
131
} else {
133
132
expectExactType ( '' as string | undefined ) ( result . currentData )
134
- // @ts -expect-error
135
133
expectExactType ( '' as string ) ( result . currentData )
136
134
}
137
135
}
@@ -359,7 +357,6 @@ describe.skip('TS only tests', () => {
359
357
const { refetch, ...useQueryResultWithoutMethods } = useQueryResult
360
358
expectExactType ( useQueryStateResult ) ( useQueryResultWithoutMethods )
361
359
expectExactType ( useQueryStateWithSelectFromResult ) (
362
- // @ts -expect-error
363
360
useQueryResultWithoutMethods
364
361
)
365
362
expectType < ReturnType < ReturnType < typeof api . endpoints . test . select > > > (
You can’t perform that action at this time.
0 commit comments