@@ -19,9 +19,9 @@ import anotherjson from "another-json";
19
19
import fetchMock from "fetch-mock-jest" ;
20
20
import "fake-indexeddb/auto" ;
21
21
import { IDBFactory } from "fake-indexeddb" ;
22
- import FetchMock from "fetch-mock" ;
23
- import Olm from "@matrix-org/olm" ;
24
22
23
+ import type FetchMock from "fetch-mock" ;
24
+ import type Olm from "@matrix-org/olm" ;
25
25
import * as testUtils from "../../test-utils/test-utils" ;
26
26
import {
27
27
emitPromise ,
@@ -47,18 +47,18 @@ import {
47
47
ClientEvent ,
48
48
createClient ,
49
49
HistoryVisibility ,
50
- IClaimOTKsResult ,
51
- IContent ,
52
- IDownloadKeyResult ,
53
- IEvent ,
54
- IStartClientOpts ,
55
- MatrixClient ,
50
+ type IClaimOTKsResult ,
51
+ type IContent ,
52
+ type IDownloadKeyResult ,
53
+ type IEvent ,
54
+ type IStartClientOpts ,
55
+ type MatrixClient ,
56
56
MatrixEvent ,
57
57
MatrixEventEvent ,
58
58
PendingEventOrdering ,
59
59
} from "../../../src/matrix" ;
60
60
import { E2EKeyReceiver } from "../../test-utils/E2EKeyReceiver" ;
61
- import { ISyncResponder , SyncResponder } from "../../test-utils/SyncResponder" ;
61
+ import { type ISyncResponder , SyncResponder } from "../../test-utils/SyncResponder" ;
62
62
import { defer , escapeRegExp } from "../../../src/utils" ;
63
63
import { downloadDeviceToJsDevice } from "../../../src/rust-crypto/device-converter" ;
64
64
import { flushPromises } from "../../test-utils/flushPromises" ;
@@ -67,15 +67,15 @@ import {
67
67
mockSetupCrossSigningRequests ,
68
68
mockSetupMegolmBackupRequests ,
69
69
} from "../../test-utils/mockEndpoints" ;
70
- import { SecretStorageKeyDescription } from "../../../src/secret-storage" ;
70
+ import { type SecretStorageKeyDescription } from "../../../src/secret-storage" ;
71
71
import {
72
72
CrossSigningKey ,
73
- CryptoCallbacks ,
73
+ type CryptoCallbacks ,
74
74
DecryptionFailureCode ,
75
- DeviceIsolationMode ,
75
+ type DeviceIsolationMode ,
76
76
EventShieldColour ,
77
77
EventShieldReason ,
78
- KeyBackupInfo ,
78
+ type KeyBackupInfo ,
79
79
AllDevicesIsolationMode ,
80
80
OnlySignedDevicesIsolationMode ,
81
81
} from "../../../src/crypto-api" ;
@@ -92,7 +92,7 @@ import {
92
92
import { AccountDataAccumulator } from "../../test-utils/AccountDataAccumulator" ;
93
93
import { UNSIGNED_MEMBERSHIP_FIELD } from "../../../src/@types/event" ;
94
94
import { KnownMembership } from "../../../src/@types/membership" ;
95
- import { KeyBackup } from "../../../src/rust-crypto/backup.ts" ;
95
+ import { type KeyBackup } from "../../../src/rust-crypto/backup.ts" ;
96
96
import { CryptoEvent } from "../../../src/crypto-api" ;
97
97
98
98
afterEach ( ( ) => {
0 commit comments