Skip to content

Commit

Permalink
fix: type of params.page.*
Browse files Browse the repository at this point in the history
Those values are actually strings.
  • Loading branch information
nelson6e65 authored Oct 28, 2023
1 parent 1d095a1 commit db44985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export type JsonApiParams = {
include?: string[];
sort?: string[];
filter?: { [key: string]: string };
page?: { [key: string]: number };
page?: { [key: string]: string };
fields?: { [key: string]: string[] };
};

Expand Down

0 comments on commit db44985

Please sign in to comment.