Skip to content

Commit af273df

Browse files
chore: remove type annotations
Importing `NestedStringArray` did cause issues in the CI
1 parent 35ceef0 commit af273df

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

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

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import Component from '../../common/Component';
33
import icon from '../../common/helpers/icon';
44
import formatNumber from '../../common/utils/formatNumber';
55
import ScrollListener from '../../common/utils/ScrollListener';
6-
import { NestedStringArray } from '@askvortsov/rich-icu-message-formatter';
76

87
/**
98
* The `PostStreamScrubber` component displays a scrubber which can be used to
@@ -93,24 +92,14 @@ export default class PostStreamScrubber extends Component {
9392
);
9493
}
9594

96-
/**
97-
* @returns {NestedStringArray|string}
98-
*/
9995
firstPostLabel() {
10096
return app.translator.trans('core.forum.post_scrubber.original_post_link');
10197
}
10298

103-
/**
104-
* @param {number} unreadCount
105-
* @returns {NestedStringArray|string}
106-
*/
10799
unreadLabel(unreadCount) {
108100
return app.translator.trans('core.forum.post_scrubber.unread_text', { count: unreadCount });
109101
}
110102

111-
/**
112-
* @returns {NestedStringArray|string}
113-
*/
114103
lastPostLabel() {
115104
return app.translator.trans('core.forum.post_scrubber.now_link');
116105
}

0 commit comments

Comments
 (0)