diff options
author | Chocobozzz <me@florianbigard.com> | 2019-11-05 09:21:04 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-11-05 09:21:04 +0100 |
commit | 41eac41b0583bc9b277ae872b1b56a210ba7c29c (patch) | |
tree | 5c801d3b4e17756a98065fc26e98b954649d9079 /scripts | |
parent | ebd316d142d1619ded87277c274ea39df2eb21c2 (diff) | |
download | PeerTube-41eac41b0583bc9b277ae872b1b56a210ba7c29c.tar.gz PeerTube-41eac41b0583bc9b277ae872b1b56a210ba7c29c.tar.zst PeerTube-41eac41b0583bc9b277ae872b1b56a210ba7c29c.zip |
Fix typings
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/generate-code-contributors.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
91 | get(year2019, headers) | 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 | } |