diff --git a/scripts/generate-code-contributors.ts b/scripts/generate-code-contributors.ts index 8cc3dc5b4..5635d9889 100755 --- a/scripts/generate-code-contributors.ts +++ b/scripts/generate-code-contributors.ts @@ -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') }