From 281c5aac212560ab791323c10c776461b6c9cbd6 Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Thu, 7 May 2020 17:47:07 -0400 Subject: fix type signature of unpickle in Inbound/OutboundGroupSession Thanks to Dominic Fischer for spotting. --- javascript/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'javascript') 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; -- cgit v1.2.3