Skip to content

Commit

Permalink
better types
Browse files Browse the repository at this point in the history
  • Loading branch information
stephmilovic committed Feb 21, 2020
1 parent 388d77d commit fb92e30
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
* you may not use this file except in compliance with the Elastic License.
*/

import { QueryParams, SortFieldCase } from '../../../../../containers/case/types';
import { SortFieldCase } from '../../../../../containers/case/types';
import { UseGetCasesState } from '../../../../../containers/case/use_get_cases';

export const useGetCasesMockState = {
export const useGetCasesMockState: UseGetCasesState = {
data: {
cases: [
{
Expand Down Expand Up @@ -70,7 +71,7 @@ export const useGetCasesMockState = {
page: 1,
perPage: 5,
sortField: SortFieldCase.createdAt,
sortOrder: 'desc' as QueryParams['sortOrder'],
sortOrder: 'desc',
},
filterOptions: { search: '', tags: [] },
};

0 comments on commit fb92e30

Please sign in to comment.