Skip to content

Commit

Permalink
fix: pagination types
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirvolek committed Jul 16, 2021
1 parent 4907e3c commit 75ee89b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
10 changes: 5 additions & 5 deletions src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ export interface ExtendedAxiosError extends AxiosError {
}

export type PaginationOptions = {
count: number;
page: number;
order: 'asc' | 'desc';
count?: number;
page?: number;
order?: 'asc' | 'desc';
};

export type AdditionalEndpointOptions = {
from: string | undefined;
to: string | undefined;
from?: string | undefined;
to?: string | undefined;
};

0 comments on commit 75ee89b

Please sign in to comment.