File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ Please see LICENSE in the repository root for full details.
66*/
77
88import "matrix-js-sdk/src/@types/global" ;
9+ import { type setLogLevel as setLKLogLevel } from "livekit-client" ;
10+
911import type { DurationFormat as PolyfillDurationFormat } from "@formatjs/intl-durationformat" ;
1012import { type Controls } from "../controls" ;
1113
@@ -18,6 +20,7 @@ declare global {
1820
1921 interface Window {
2022 controls : Controls ;
23+ setLKLogLevel : typeof setLKLogLevel ;
2124 }
2225
2326 interface HTMLElement {
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ import { App } from "./App";
2424import { init as initRageshake } from "./settings/rageshake" ;
2525import { Initializer } from "./initializer" ;
2626
27+ window . setLKLogLevel = setLKLogLevel ;
28+
2729initRageshake ( ) . catch ( ( e ) => {
2830 logger . error ( "Failed to initialize rageshake" , e ) ;
2931} ) ;
You can’t perform that action at this time.
0 commit comments