Skip to content

Commit

Permalink
add return types to functions in c-zoom-commit-message
Browse files Browse the repository at this point in the history
  • Loading branch information
vvidday committed Apr 4, 2024
1 parent 126e669 commit 77053e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/c-zoom-commit-message.vue
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export default defineComponent({
}
return window.getCommitLink(this.info.zUser!.repoId, slice.hash);
},
toggleSelectedCommitMessageBody(slice: CommitResult) {
toggleSelectedCommitMessageBody(slice: CommitResult): void {
this.$store.commit('toggleZoomCommitMessageBody', slice);
},
containsAtLeastOneSelected(fileTypes: Array<string>): boolean {
Expand All @@ -173,7 +173,7 @@ export default defineComponent({
}
return false;
},
getFontColor(color: string) {
getFontColor(color: string): string {
return window.getFontColor(color);
},
},
Expand Down

0 comments on commit 77053e1

Please sign in to comment.