Alias namespace as Olm

Co-authored-by: Bruno Windels <brunow@matrix.org>
This commit is contained in:
R Midhun Suresh 2021-12-03 11:29:07 +05:30 committed by RMidhunSuresh
parent e06a0e9e5a
commit 6dcebde69d

View file

@ -16,7 +16,8 @@ limitations under the License.
import {Key} from "./common";
import {KeyDescription} from "./common";
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;