annotate parameter with type
This commit is contained in:
parent
04bdf1043c
commit
049c432b8b
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ export const selectSearchQuery: (state: State) => ?string = createSelector(
|
||||||
selectCurrentPage,
|
selectCurrentPage,
|
||||||
selectCurrentParams,
|
selectCurrentParams,
|
||||||
selectSearchValue,
|
selectSearchValue,
|
||||||
(page: string, params: ?{ query: string }, searchValue) =>
|
(page: string, params: ?{ query: string }, searchValue: string) =>
|
||||||
page === 'search' ? params && params.query : searchValue
|
page === 'search' ? params && params.query : searchValue
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue