Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit ad0b90b

Browse files
committed
Fix types
Signed-off-by: Michael Telatynski <[email protected]>
1 parent 31f3b82 commit ad0b90b

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@
232232
"typescript": "5.2.2"
233233
},
234234
"peerDependencies": {
235+
"@matrix-org/olm": "3.2.15",
235236
"postcss": "^8.4.19",
236237
"webpack": "^4.0.0 || ^5.0.0"
237238
},

src/@types/global.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ declare global {
5858
interface Window {
5959
matrixChat: ReturnType<Renderer>;
6060
mxMatrixClientPeg: IMatrixClientPeg;
61-
Olm: {
62-
init: () => Promise<void>;
63-
};
6461
mxReactSdkConfig: DeepReadonly<IConfigOptions>;
6562

6663
// Needed for Safari, unknown to TypeScript

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1870,6 +1870,11 @@
18701870
resolved "https://registry.yarnpkg.com/@matrix-org/matrix-wysiwyg/-/matrix-wysiwyg-2.17.0.tgz#68c83da17826fb43828f0c1ddd8d6e0b9d155ae5"
18711871
integrity sha512-PZGSrNqKCSdUnyUVglEvHrV8uowU3JuWUlYYKBslYnnIrJHw9aS2nnCpLVqwACFD6N82+L+Net8ME9i3qy7BGQ==
18721872

1873+
"@matrix-org/[email protected]":
1874+
version "3.2.15"
1875+
resolved "https://registry.yarnpkg.com/@matrix-org/olm/-/olm-3.2.15.tgz#55f3c1b70a21bbee3f9195cecd6846b1083451ec"
1876+
integrity sha512-S7lOrndAK9/8qOtaTq/WhttJC/o4GAzdfK0MUPpo8ApzsJEC0QjtwrkC3KBXdFP1cD1MXi/mlKR7aaoVMKgs6Q==
1877+
18731878
"@matrix-org/react-sdk-module-api@^2.2.1":
18741879
version "2.2.1"
18751880
resolved "https://registry.yarnpkg.com/@matrix-org/react-sdk-module-api/-/react-sdk-module-api-2.2.1.tgz#308bcb42a780200d3e7994235376784b51819379"

0 commit comments

Comments
 (0)