Skip to content

Commit

Permalink
chore: change type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideIadeluca committed Oct 2, 2024
1 parent 4707e4e commit 35ceef0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framework/core/js/src/forum/components/PostStreamScrubber.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,22 +94,22 @@ export default class PostStreamScrubber extends Component {
}

/**
* @returns {NestedStringArray}
* @returns {NestedStringArray|string}
*/
firstPostLabel() {
return app.translator.trans('core.forum.post_scrubber.original_post_link');
}

/**
* @param {number} unreadCount
* @returns {NestedStringArray}
* @returns {NestedStringArray|string}
*/
unreadLabel(unreadCount) {
return app.translator.trans('core.forum.post_scrubber.unread_text', { count: unreadCount });
}

/**
* @returns {NestedStringArray}
* @returns {NestedStringArray|string}
*/
lastPostLabel() {
return app.translator.trans('core.forum.post_scrubber.now_link');
Expand Down

0 comments on commit 35ceef0

Please sign in to comment.