diff --git a/src/IndexedDB.ts b/src/IndexedDB.ts index a1889dd..afa4be6 100644 --- a/src/IndexedDB.ts +++ b/src/IndexedDB.ts @@ -20,7 +20,7 @@ function wrap(request: IDBRequest): Promise { export class IndexedDBTransaction extends AsyncTransaction { private _idb: IDBObjectStore; - constructor( + public constructor( public tx: IDBTransaction, public store: IndexedDBStore ) { diff --git a/src/Storage.ts b/src/Storage.ts index 644d139..92faa7f 100644 --- a/src/Storage.ts +++ b/src/Storage.ts @@ -9,7 +9,7 @@ export class WebStorageStore implements Store, SimpleSyncStore { return WebStorage.name; } - constructor(protected _storage: Storage) {} + public constructor(protected _storage: Storage) {} public clear(): void { this._storage.clear();