mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-18 09:51:14 +03:00
fix typing
This commit is contained in:
parent
03d2525859
commit
000d8a6f72
@ -5,7 +5,8 @@ import { LiveStreamMetadata } from "@/types/live";
|
|||||||
|
|
||||||
const FETCH_TIMEOUT_MS = 10000;
|
const FETCH_TIMEOUT_MS = 10000;
|
||||||
const DEFER_DELAY_MS = 2000;
|
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.
|
* Hook that fetches go2rtc stream metadata with deferred loading.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user