Skip to content

Commit

Permalink
chore: remove type annotations
Browse files Browse the repository at this point in the history
Importing `NestedStringArray` did cause issues in the CI
  • Loading branch information
DavideIadeluca committed Oct 2, 2024
1 parent 35ceef0 commit af273df
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions framework/core/js/src/forum/components/PostStreamScrubber.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import Component from '../../common/Component';
import icon from '../../common/helpers/icon';
import formatNumber from '../../common/utils/formatNumber';
import ScrollListener from '../../common/utils/ScrollListener';
import { NestedStringArray } from '@askvortsov/rich-icu-message-formatter';

/**
* The `PostStreamScrubber` component displays a scrubber which can be used to
Expand Down Expand Up @@ -93,24 +92,14 @@ export default class PostStreamScrubber extends Component {
);
}

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

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

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

0 comments on commit af273df

Please sign in to comment.