Skip to content

Commit c713101

Browse files
committed
chore: Nonnullable
1 parent 7ed7459 commit c713101

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ryfylke-react/rtk-query-loader",
3-
"version": "0.2.7",
3+
"version": "0.2.75",
44
"description": "Lets you create loaders that contain multiple RTK queries.",
55
"main": "./dist/cjs/index.js",
66
"module": "./dist/esm/index.js",

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export type UseQueryResult<T> = {
2424
};
2525

2626
export type MakeDataRequired<T> = {
27-
[K in keyof T]-?: Required<T[K]>;
27+
[K in keyof T]-?: Required<NonNullable<T[K]>>;
2828
};
2929

3030
export type LoaderTransformFunction<

0 commit comments

Comments
 (0)