File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @ryfylke-react/rtk-query-loader" ,
3
- "version" : " 0.3.15 " ,
3
+ "version" : " 0.3.2 " ,
4
4
"description" : " Lets you create loaders that contain multiple RTK queries." ,
5
5
"main" : " ./dist/cjs/index.js" ,
6
6
"module" : " ./dist/esm/index.js" ,
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export type InferLoaderData<T> = T extends Loader<
71
71
? X
72
72
: never ;
73
73
74
- export type Component < P extends Record < string , unknown > > = (
74
+ export type Component < P extends Record < string , any > > = (
75
75
props : P
76
76
) => ReactElement ;
77
77
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { RTKLoader } from "./RTKLoader";
3
3
import * as Types from "./types" ;
4
4
5
5
export const withLoader = <
6
- P extends Record < string , unknown > ,
6
+ P extends Record < string , any > ,
7
7
R extends unknown ,
8
8
A = never
9
9
> (
You can’t perform that action at this time.
0 commit comments