Skip to content

Commit

Permalink
Merge pull request #1198 from klembot/fix-reduce-warning
Browse files Browse the repository at this point in the history
Correct TypeScript warning
  • Loading branch information
klembot authored Jul 14, 2022
2 parents 0a5d250 + b6b4b53 commit 14c40a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/store/story-formats/getters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ export function newestFormatNamed(formats: StoryFormat[], name: string) {
if (!result || gt(format.version, result.version)) {
return format;
}

return result;
}, undefined);
}

Expand Down

0 comments on commit 14c40a7

Please sign in to comment.