diff --git a/js/src/forum/extenders/extendDiscussionSearchSource.tsx b/js/src/forum/extenders/extendDiscussionSearchSource.tsx index 6ce539e..8851682 100644 --- a/js/src/forum/extenders/extendDiscussionSearchSource.tsx +++ b/js/src/forum/extenders/extendDiscussionSearchSource.tsx @@ -3,7 +3,6 @@ import { extend } from 'flarum/common/extend'; import DiscussionsSearchSource from 'flarum/forum/components/DiscussionsSearchSource'; export default function extendDiscussionsSearchSource() { - @ts-ignore extend(DiscussionsSearchSource.prototype, 'queryMutators', function (mutators: string[]) { // This will only apply when using flarum/core 1.8.6 or newer if (app.forum.attribute('removeSolutionResultsFromMainSearch')) {