fix linter

This commit is contained in:
Timo
2024-12-13 03:23:20 +01:00
parent 4d6740cf2c
commit b993c5eb12

View File

@@ -7,7 +7,7 @@ Please see LICENSE in the repository root for full details.
import { import {
ConnectionState, ConnectionState,
type E2EEOptions, type E2EEManagerOptions,
ExternalE2EEKeyProvider, ExternalE2EEKeyProvider,
Room, Room,
type RoomOptions, type RoomOptions,
@@ -45,7 +45,7 @@ export function useLiveKit(
sfuConfig: SFUConfig | undefined, sfuConfig: SFUConfig | undefined,
e2eeSystem: EncryptionSystem, e2eeSystem: EncryptionSystem,
): UseLivekitResult { ): UseLivekitResult {
const e2eeOptions = useMemo((): E2EEOptions | undefined => { const e2eeOptions = useMemo((): E2EEManagerOptions | undefined => {
if (e2eeSystem.kind === E2eeType.NONE) return undefined; if (e2eeSystem.kind === E2eeType.NONE) return undefined;
if (e2eeSystem.kind === E2eeType.PER_PARTICIPANT) { if (e2eeSystem.kind === E2eeType.PER_PARTICIPANT) {