es lint fixes

This commit is contained in:
Valere
2025-11-03 13:18:33 +01:00
parent 4c5f06a8a9
commit a7d2a3b9db
5 changed files with 9 additions and 11 deletions

View File

@@ -6,7 +6,6 @@ Please see LICENSE in the repository root for full details.
*/ */
import { catchError, from, map, type Observable, of, startWith } from "rxjs"; import { catchError, from, map, type Observable, of, startWith } from "rxjs";
import { Behavior } from "./Behavior";
/** /**
* Data that may need to be loaded asynchronously. * Data that may need to be loaded asynchronously.

View File

@@ -134,7 +134,7 @@ import {
type SpotlightLandscapeLayoutMedia, type SpotlightLandscapeLayoutMedia,
type SpotlightPortraitLayoutMedia, type SpotlightPortraitLayoutMedia,
} from "./layout-types.ts"; } from "./layout-types.ts";
import { ElementCallError, UnknownCallError } from "../utils/errors.ts"; import { type ElementCallError, UnknownCallError } from "../utils/errors.ts";
import { ObservableScope } from "./ObservableScope.ts"; import { ObservableScope } from "./ObservableScope.ts";
import { memberDisplaynames$ } from "./remoteMembers/displayname.ts"; import { memberDisplaynames$ } from "./remoteMembers/displayname.ts";
import { ConnectionManager } from "./remoteMembers/ConnectionManager.ts"; import { ConnectionManager } from "./remoteMembers/ConnectionManager.ts";

View File

@@ -31,9 +31,10 @@ import {
startWith, startWith,
switchMap, switchMap,
} from "rxjs"; } from "rxjs";
import { multiSfu } from "../../settings/settings"; import { multiSfu } from "../../settings/settings";
import { type Behavior } from "../Behavior"; import { type Behavior } from "../Behavior";
import { ConnectionManager } from "../remoteMembers/ConnectionManager"; import { type ConnectionManager } from "../remoteMembers/ConnectionManager";
import { makeTransport } from "../../rtcSessionHelpers"; import { makeTransport } from "../../rtcSessionHelpers";
import { type ObservableScope } from "../ObservableScope"; import { type ObservableScope } from "../ObservableScope";
import { async$, unwrapAsync } from "../Async"; import { async$, unwrapAsync } from "../Async";

View File

@@ -17,7 +17,6 @@ import {
} from "vitest"; } from "vitest";
import { BehaviorSubject, of } from "rxjs"; import { BehaviorSubject, of } from "rxjs";
import { import {
ConnectionState as LivekitConnectionState,
type LocalParticipant, type LocalParticipant,
type RemoteParticipant, type RemoteParticipant,
type Room as LivekitRoom, type Room as LivekitRoom,
@@ -36,7 +35,6 @@ import {
type ConnectionOpts, type ConnectionOpts,
type ConnectionState, type ConnectionState,
type PublishingParticipant, type PublishingParticipant,
Connection,
} from "./Connection.ts"; } from "./Connection.ts";
import { ObservableScope } from "../ObservableScope.ts"; import { ObservableScope } from "../ObservableScope.ts";
import { type OpenIDClientParts } from "../../livekit/openIDSFU.ts"; import { type OpenIDClientParts } from "../../livekit/openIDSFU.ts";

View File

@@ -8,23 +8,23 @@ import { map, type Observable, of, type SchedulerLike } from "rxjs";
import { type RunHelpers, TestScheduler } from "rxjs/testing"; import { type RunHelpers, TestScheduler } from "rxjs/testing";
import { expect, type MockedObject, onTestFinished, vi, vitest } from "vitest"; import { expect, type MockedObject, onTestFinished, vi, vitest } from "vitest";
import { import {
type RoomMember,
type Room as MatrixRoom,
MatrixEvent, MatrixEvent,
type Room as MatrixRoom,
type Room, type Room,
type RoomMember,
TypedEventEmitter, TypedEventEmitter,
} from "matrix-js-sdk"; } from "matrix-js-sdk";
import { import {
CallMembership, CallMembership,
type Transport, type LivekitFocusSelection,
type LivekitTransport,
type MatrixRTCSession,
MatrixRTCSessionEvent, MatrixRTCSessionEvent,
type MatrixRTCSessionEventHandlerMap, type MatrixRTCSessionEventHandlerMap,
MembershipManagerEvent, MembershipManagerEvent,
type SessionMembershipData, type SessionMembershipData,
Status, Status,
type LivekitFocusSelection, type Transport,
type MatrixRTCSession,
type LivekitTransport,
} from "matrix-js-sdk/lib/matrixrtc"; } from "matrix-js-sdk/lib/matrixrtc";
import { type MembershipManagerEventHandlerMap } from "matrix-js-sdk/lib/matrixrtc/IMembershipManager"; import { type MembershipManagerEventHandlerMap } from "matrix-js-sdk/lib/matrixrtc/IMembershipManager";
import { import {