replaced type any with string

This commit is contained in:
Florian Scholdei
2019-04-17 16:42:27 +02:00
parent 6f975acd21
commit 83edce1410
7 changed files with 13 additions and 13 deletions

View File

@@ -46,7 +46,7 @@ export function fetchRepos(link: string) {
return fetchReposByLink(link);
}
export function fetchReposByPage(link: string, page: number, filter?: any) {
export function fetchReposByPage(link: string, page: number, filter?: string) {
if (filter) {
return fetchReposByLink(
`${link}?page=${page - 1}&q=${decodeURIComponent(filter)}`