diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2020-05-07 17:47:07 -0400 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2020-05-07 18:01:52 -0400 |
commit | 281c5aac212560ab791323c10c776461b6c9cbd6 (patch) | |
tree | 62f0506566a8c7093bec11264e5ece82cf3b14d1 /javascript | |
parent | 611d3949cb06447e4281a543957bf877fe074eed (diff) |
fix type signature of unpickle in Inbound/OutboundGroupSession
Thanks to Dominic Fischer for spotting.
Diffstat (limited to 'javascript')
-rw-r--r-- | javascript/index.d.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/javascript/index.d.ts b/javascript/index.d.ts index 682041e..a0107ac 100644 --- a/javascript/index.d.ts +++ b/javascript/index.d.ts @@ -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; |