You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-04 05:02:41 +03:00
Enable noImplicitAny (#2895)
* Stash noImplicitAny work * Enable noImplicitAny * Update olm * Fun * Fix msgid stuff * Fix tests * Attempt to fix Browserify
This commit is contained in:
committed by
GitHub
parent
6f81371e61
commit
8d018f9c2d
@@ -23,8 +23,14 @@ limitations under the License.
|
||||
import { MatrixClient } from "../../client";
|
||||
import { Room } from "../../models/room";
|
||||
import { OlmDevice } from "../OlmDevice";
|
||||
import { MatrixEvent, RoomMember } from "../../matrix";
|
||||
import { Crypto, IEventDecryptionResult, IMegolmSessionData, IncomingRoomKeyRequest } from "..";
|
||||
import { IContent, MatrixEvent, RoomMember } from "../../matrix";
|
||||
import {
|
||||
Crypto,
|
||||
IEncryptedContent,
|
||||
IEventDecryptionResult,
|
||||
IMegolmSessionData,
|
||||
IncomingRoomKeyRequest,
|
||||
} from "..";
|
||||
import { DeviceInfo } from "../deviceinfo";
|
||||
import { IRoomEncryption } from "../RoomList";
|
||||
|
||||
@@ -108,7 +114,7 @@ export abstract class EncryptionAlgorithm {
|
||||
*
|
||||
* @return {Promise} Promise which resolves to the new event body
|
||||
*/
|
||||
public abstract encryptMessage(room: Room, eventType: string, content: object): Promise<object>;
|
||||
public abstract encryptMessage(room: Room, eventType: string, content: IContent): Promise<IEncryptedContent>;
|
||||
|
||||
/**
|
||||
* Called when the membership of a member of the room changes.
|
||||
|
||||
Reference in New Issue
Block a user