Skip to content

Commit

Permalink
Annotate return type of nationwidePartyStatsFromSummaryJSON
Browse files Browse the repository at this point in the history
  • Loading branch information
dtinth committed Mar 24, 2019
1 parent b28185b commit b31cc0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/models/PartyStats.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const cache = global.WeakMap && new WeakMap()
* Like `partyStatsFromSummaryJSON`, but no filter and with caching.
*
* @param {ElectionDataSource.SummaryJSON} summary
* @return {PartyStats}
*/
export function nationwidePartyStatsFromSummaryJSON(summary) {
if (cache && cache.has(summary)) {
Expand Down

0 comments on commit b31cc0d

Please sign in to comment.