fix type signature of unpickle in Inbound/OutboundGroupSession
Thanks to Dominic Fischer for spotting.
This commit is contained in:
parent
611d3949cb
commit
281c5aac21
1 changed files with 2 additions and 2 deletions
4
javascript/index.d.ts
vendored
4
javascript/index.d.ts
vendored
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue