Migrate textsecure to eslint
Co-authored-by: Chris Svenningsen <chris@carbonfive.com>
This commit is contained in:
parent
b5df9b4067
commit
7b6d8f55d6
24 changed files with 706 additions and 299 deletions
|
@ -1,4 +1,5 @@
|
|||
// tslint:disable no-default-export
|
||||
/* eslint-disable more/no-then */
|
||||
/* eslint-disable max-classes-per-file */
|
||||
|
||||
import { KeyPairType } from '../libsignal.d';
|
||||
import { ProvisionEnvelopeClass } from '../textsecure.d';
|
||||
|
@ -73,6 +74,7 @@ class ProvisioningCipherInner {
|
|||
});
|
||||
});
|
||||
}
|
||||
|
||||
async getPublicKey(): Promise<ArrayBuffer> {
|
||||
return Promise.resolve()
|
||||
.then(async () => {
|
||||
|
@ -107,5 +109,6 @@ export default class ProvisioningCipher {
|
|||
decrypt: (
|
||||
provisionEnvelope: ProvisionEnvelopeClass
|
||||
) => Promise<ProvisionDecryptResult>;
|
||||
|
||||
getPublicKey: () => Promise<ArrayBuffer>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue