chore: Enforce interfaces for object types (#2544)

This commit is contained in:
Dermot Duffy
2026-06-30 17:45:13 -07:00
committed by dermotduffy
parent c8e7fdd808
commit a87e5b8eeb
5 changed files with 11 additions and 6 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
import { CameraConfig } from '../../../config/schema/cameras';
import { Endpoint } from '../../../types';
type EndpointOptions = {
interface EndpointOptions {
url?: string;
stream?: string;
};
}
const buildGo2RTCEndpoint = (
cameraConfig: CameraConfig,