fix type signature of unpickle in Inbound/OutboundGroupSession

Thanks to Dominic Fischer for spotting.
This commit is contained in:
Hubert Chathi 2020-05-07 17:47:07 -04:00
parent 611d3949cb
commit 281c5aac21

View file

@ -63,7 +63,7 @@ declare class InboundGroupSession {
constructor();
free(): void;
pickle(key: string): string;
unpickle(key: string, pickle: string): string;
unpickle(key: string, pickle: string);
create(session_key: string): string;
import_session(session_key: string): string;
decrypt(message: string): object;
@ -76,7 +76,7 @@ declare class OutboundGroupSession {
constructor();
free(): void;
pickle(key: string): string;
unpickle(key: string): string;
unpickle(key: string, pickle: string);
create(): void;
encrypt(plaintext: string): string;
session_id(): string;