Merge pull request #6208 from matrix-org/t3chguy/ts/5

This commit is contained in:
Michael Telatynski 2021-06-18 09:49:03 +01:00 committed by GitHub
commit dddc32d870
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 123 additions and 112 deletions

View file

@ -25,6 +25,7 @@ import React, { createRef } from 'react';
import classNames from 'classnames';
import { Room } from "matrix-js-sdk/src/models/room";
import { MatrixEvent } from "matrix-js-sdk/src/models/event";
import { SearchResult } from "matrix-js-sdk/src/models/search-result";
import { EventSubscription } from "fbemitter";
import shouldHideEvent from '../../shouldHideEvent';
@ -142,7 +143,7 @@ export interface IState {
searchResults?: XOR<{}, {
count: number;
highlights: string[];
results: MatrixEvent[];
results: SearchResult[];
next_batch: string; // eslint-disable-line camelcase
}>;
searchHighlights?: string[];