Move SignalProtocolStore to TypeScript
This commit is contained in:
parent
5de4babc0d
commit
7e629edd21
14 changed files with 1291 additions and 1066 deletions
1
ts/textsecure.d.ts
vendored
1
ts/textsecure.d.ts
vendored
|
@ -147,6 +147,7 @@ export type StorageProtocolType = StorageType & {
|
|||
publicKey?: ArrayBuffer
|
||||
) => Promise<void>;
|
||||
removeSignedPreKey: (keyId: number) => Promise<void>;
|
||||
removeAllSessions: (identifier: string) => Promise<void>;
|
||||
removeAllData: () => Promise<void>;
|
||||
on: (key: string, callback: () => void) => WhatIsThis;
|
||||
removeAllConfiguration: () => Promise<void>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue