Skip to content

Commit

Permalink
fix(deserializer): do not allow page params to be null
Browse files Browse the repository at this point in the history
  • Loading branch information
DASPRiD committed Feb 15, 2024
1 parent a59bf0d commit aec78e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/deserializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ export type NullableResourceDocumentResult<TDeserializer extends AnyResourceDese
export type ResourceCollectionDocumentResult<TDeserializer extends AnyResourceDeserializer> =
DocumentResult<ResourceResult<TDeserializer>[]> & {
pageParams: {
first?: PageParams | null;
prev?: PageParams | null;
next?: PageParams | null;
last?: PageParams | null;
first?: PageParams;
prev?: PageParams;
next?: PageParams;
last?: PageParams;
};
};

0 comments on commit aec78e0

Please sign in to comment.