You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
Switch some imports to type imports (#3250)
Having these as regular imports confuses Vite for some reason.
This commit is contained in:
@@ -16,10 +16,10 @@ limitations under the License.
|
|||||||
|
|
||||||
import { DeviceInfo } from "./deviceinfo";
|
import { DeviceInfo } from "./deviceinfo";
|
||||||
import { IKeyBackupInfo } from "./keybackup";
|
import { IKeyBackupInfo } from "./keybackup";
|
||||||
import { PassphraseInfo } from "../secret-storage";
|
import type { PassphraseInfo } from "../secret-storage";
|
||||||
|
|
||||||
/* re-exports for backwards compatibility. */
|
/* re-exports for backwards compatibility. */
|
||||||
export {
|
export type {
|
||||||
PassphraseInfo as IPassphraseInfo,
|
PassphraseInfo as IPassphraseInfo,
|
||||||
SecretStorageKeyDescription as ISecretStorageKeyInfo,
|
SecretStorageKeyDescription as ISecretStorageKeyInfo,
|
||||||
} from "../secret-storage";
|
} from "../secret-storage";
|
||||||
|
|||||||
Reference in New Issue
Block a user