Skip to content

Commit b5d5ca6

Browse files
committed
Fixed lint errors
1 parent 0ad79f8 commit b5d5ca6

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

src/extensions/EventSearchExtensions.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
import { EventContextProjection, ISearchResultsProjection, MatrixEventProjection } from "./EventSearchExtensionProjections"
1+
import { ISearchResultsProjection } from "./EventSearchExtensionProjections";
22

33
export interface MatrixClientProjection {
4-
getStateEvent(finalRoomId: string, eventType: string, stateKey: string): Promise<Record<string, any>>;
4+
getStateEvent(finalRoomId: string, eventType: string, stateKey: string): Promise<Record<string, any>>;
55
}
66

77
/**
88
* Public api surface used to consume the extension in client code
99
*/
1010
export interface ProvideEventSearchExtensions {
11-
eventSearch(client: MatrixClientProjection, term: string, roomId?: string, abortSignal?: AbortSignal): Promise<ISearchResultsProjection>
11+
eventSearch(client: MatrixClientProjection, term: string, roomId?: string, abortSignal?: AbortSignal): Promise<ISearchResultsProjection>;
1212
}
1313

1414
/**

src/extensions/ExtensionsManager.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ export class ExtensionsManager {
2626
/** `true` if `experimentalExtension` is the default implementation; `false` if it is implemented by a module. */
2727
private hasDefaultExperimentalExtension = true;
2828

29-
3029
/**
3130
* Create a new instance.
3231
*/

src/extensions/UserSearchExtensions.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,9 @@ export interface SdkContextClassProjection {
8484
}
8585

8686
export interface MatrixClientProjection {
87-
getStateEvent(finalRoomId: string, eventType: string, stateKey: string): Promise<Record<string, any>>;
87+
getStateEvent(finalRoomId: string, eventType: string, stateKey: string): Promise<Record<string, any>>;
8888
}
8989

90-
9190
/**
9291
* Public api surface used to consume the extension in client code
9392
*/

0 commit comments

Comments
 (0)