Fix typings

pull/2227/head
Chocobozzz 2019-11-05 09:21:04 +01:00
parent ebd316d142
commit 41eac41b05
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -91,5 +91,5 @@ async function fetchZanata (zanataUsername: string, zanataPassword: string) {
get(year2019, headers)
])
return uniqBy((results2018.concat(results2019)), 'username')
return uniqBy(results2018.concat(results2019) as { username: string }[], 'username')
}