fix typing

This commit is contained in:
Josh Hawkins 2026-05-18 10:20:02 -05:00
parent 03d2525859
commit 000d8a6f72

View File

@ -5,7 +5,8 @@ import { LiveStreamMetadata } from "@/types/live";
const FETCH_TIMEOUT_MS = 10000;
const DEFER_DELAY_MS = 2000;
const emptyObject = Object.freeze({});
const emptyObject: Readonly<{ [key: string]: LiveStreamMetadata }> =
Object.freeze({});
/**
* Hook that fetches go2rtc stream metadata with deferred loading.