From 6dcebde69d23285ae11852124d5405b847f418df Mon Sep 17 00:00:00 2001 From: R Midhun Suresh Date: Fri, 3 Dec 2021 11:29:07 +0530 Subject: [PATCH] Alias namespace as Olm Co-authored-by: Bruno Windels --- src/matrix/ssss/recoveryKey.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/matrix/ssss/recoveryKey.ts b/src/matrix/ssss/recoveryKey.ts index e194ae52..739f19a9 100644 --- a/src/matrix/ssss/recoveryKey.ts +++ b/src/matrix/ssss/recoveryKey.ts @@ -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;