refactor(core): add generic utilities for resolving value-or-function patterns, replace specialized resolveStaleTime and resolveEnabled
#8242
Annotations
11 errors
|
Preview
Resource not accessible by integration
|
|
Test
Argument of type 'UseQueryResult<unknown, Error>' is not assignable to parameter of type 'UseQueryResult<number>'.
|
|
Test
Type '{}' is not assignable to type 'ReactNode'.
|
|
Test
Argument of type 'UseQueryResult<unknown, Error>' is not assignable to parameter of type 'UseQueryResult<number>'.
|
|
Test
Type 'unknown' is not assignable to type 'ReactNode'.
|
|
Test
Argument of type 'DefinedUseQueryResult<unknown, Error>' is not assignable to parameter of type 'DefinedUseQueryResult<number>'.
|
|
Test
'data' is of type 'unknown'.
|
|
Test
'data' is of type 'unknown'.
|
|
Test
Type 'unknown' is not assignable to type 'ReactNode'.
|
|
Test
Argument of type 'UseQueryResult<unknown, Error>' is not assignable to parameter of type 'UseQueryResult<number>'.
|
|
Test
Type 'Promise<unknown>' is not assignable to type 'Promise<string>'.
|