We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ed7459 commit c713101Copy full SHA for c713101
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@ryfylke-react/rtk-query-loader",
3
- "version": "0.2.7",
+ "version": "0.2.75",
4
"description": "Lets you create loaders that contain multiple RTK queries.",
5
"main": "./dist/cjs/index.js",
6
"module": "./dist/esm/index.js",
src/types.ts
@@ -24,7 +24,7 @@ export type UseQueryResult<T> = {
24
};
25
26
export type MakeDataRequired<T> = {
27
- [K in keyof T]-?: Required<T[K]>;
+ [K in keyof T]-?: Required<NonNullable<T[K]>>;
28
29
30
export type LoaderTransformFunction<
0 commit comments