Alias namespace as Olm
Co-authored-by: Bruno Windels <brunow@matrix.org>
This commit is contained in:
parent
e06a0e9e5a
commit
6dcebde69d
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,8 @@ limitations under the License.
|
||||||
import {Key} from "./common";
|
import {Key} from "./common";
|
||||||
import {KeyDescription} from "./common";
|
import {KeyDescription} from "./common";
|
||||||
import type {Platform} from "../../platform/web/Platform.js";
|
import type {Platform} from "../../platform/web/Platform.js";
|
||||||
import type * as Olm from "@matrix-org/olm"
|
import type * as OlmNamespace from "@matrix-org/olm";
|
||||||
|
type Olm = typeof OlmNamespace;
|
||||||
|
|
||||||
const OLM_RECOVERY_KEY_PREFIX = [0x8B, 0x01] as const;
|
const OLM_RECOVERY_KEY_PREFIX = [0x8B, 0x01] as const;
|
||||||
|
|
||||||
|
|
Reference in a new issue