1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00

Improve ts types and enable esModuleInterop

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2020-04-21 11:55:56 +01:00
parent 77a1fc9e60
commit 7082516664
4 changed files with 47 additions and 262 deletions

View File

@@ -16,6 +16,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import type Request from "request";
import {MemoryCryptoStore} from "./crypto/store/memory-crypto-store";
import {LocalStorageCryptoStore} from "./crypto/store/localStorage-crypto-store";
import {IndexedDBCryptoStore} from "./crypto/store/indexeddb-crypto-store";
@@ -117,7 +119,7 @@ interface ICreateClientOpts {
store?: Store;
cryptoStore?: CryptoStore;
scheduler?: MatrixScheduler;
request?: any; // TODO
request?: Request;
}
/**