Enforce stronger types for ArrayBuffers and storage

This commit is contained in:
Fedor Indutny
2021-06-14 17:09:37 -07:00
committed by GitHub
parent 61ac79e9ae
commit 8f5086227a
56 changed files with 748 additions and 675 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ import createTaskWithTimeout from './TaskWithTimeout';
import SyncRequest from './SyncRequest';
import MessageSender from './SendMessage';
import StringView from './StringView';
import Storage from './Storage';
import { Storage } from './Storage';
import * as WebAPI from './WebAPI';
import WebSocketResource from './WebsocketResources';
@@ -19,7 +19,7 @@ export const textsecure = {
createTaskWithTimeout,
crypto: Crypto,
utils,
storage: Storage,
storage: new Storage(),
AccountManager,
ContactBuffer,