Migrated ShlinkApiClient to TS

This commit is contained in:
Alejandro Celaya
2020-08-29 19:51:14 +02:00
parent ebd7a76896
commit ef630af154
9 changed files with 198 additions and 134 deletions

View File

@@ -20,7 +20,7 @@ export interface ShortUrlsListParams {
searchTerm?: string;
startDate?: string;
endDate?: string;
orderBy?: object;
orderBy?: string | Record<string, 'ASC' | 'DESC'>;
}
const initialState: ShortUrlsListParams = { page: '1' };