Move SignalProtocolStore to TypeScript

This commit is contained in:
Scott Nonnenberg 2021-02-26 15:42:45 -08:00 committed by Josh Perez
parent 5de4babc0d
commit 7e629edd21
14 changed files with 1291 additions and 1066 deletions

1
ts/textsecure.d.ts vendored
View file

@ -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>;