Browse Source

Fix typings

Chocobozzz 9 months ago
parent
commit
41eac41b05
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      scripts/generate-code-contributors.ts

+ 1
- 1
scripts/generate-code-contributors.ts View File

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

Loading…
Cancel
Save