Skip to content

Commit

Permalink
Fix import paths in VerjiLocalSearch.ts and VerjiLocalSearch-test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Reza Mohseni committed Apr 15, 2024
1 parent 7e59199 commit c756eb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/VerjiLocalSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
SearchResult as ElementSearchResult,
} from "matrix-js-sdk/src/matrix";
import { EventContext } from "matrix-js-sdk/src/models/event-context"; // eslint-disable-line

import { MatrixClientPeg } from "./MatrixClientPeg";

interface WordHighlight {
Expand Down
4 changes: 3 additions & 1 deletion test/VerjiLocalSearch-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
Unauthorized copying or distribution of this file, via any medium, is strictly prohibited.
*/

import { MatrixEvent } from "matrix-js-sdk"; // eslint-disable-line
// import { MatrixEvent } from "matrix-js-sdk";
import { MatrixEvent } from 'matrix-js-sdk/src/matrix';

import {
findAllMatches,
eventMatchesSearchTerms,
Expand Down

0 comments on commit c756eb4

Please sign in to comment.