Skip to content

Commit 35ceef0

Browse files
chore: change type annotation
1 parent 4707e4e commit 35ceef0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

framework/core/js/src/forum/components/PostStreamScrubber.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,22 +94,22 @@ export default class PostStreamScrubber extends Component {
9494
}
9595

9696
/**
97-
* @returns {NestedStringArray}
97+
* @returns {NestedStringArray|string}
9898
*/
9999
firstPostLabel() {
100100
return app.translator.trans('core.forum.post_scrubber.original_post_link');
101101
}
102102

103103
/**
104104
* @param {number} unreadCount
105-
* @returns {NestedStringArray}
105+
* @returns {NestedStringArray|string}
106106
*/
107107
unreadLabel(unreadCount) {
108108
return app.translator.trans('core.forum.post_scrubber.unread_text', { count: unreadCount });
109109
}
110110

111111
/**
112-
* @returns {NestedStringArray}
112+
* @returns {NestedStringArray|string}
113113
*/
114114
lastPostLabel() {
115115
return app.translator.trans('core.forum.post_scrubber.now_link');

0 commit comments

Comments
 (0)