Fix typing on config: EULA is optional as it has a default (#3074)

This commit is contained in:
Hugh Nimmo-Smith
2025-03-12 12:52:13 +00:00
committed by GitHub
parent 5547e838d3
commit 520c0f4925

View File

@@ -76,7 +76,7 @@ export interface ConfigOptions {
/** /**
* A link to the end-user license agreement (EULA) * A link to the end-user license agreement (EULA)
*/ */
eula: string; eula?: string;
media_devices?: { media_devices?: {
/** /**
@@ -131,6 +131,7 @@ export interface ResolvedConfigOptions extends ConfigOptions {
server_name: string; server_name: string;
}; };
}; };
eula: string;
media_devices: { media_devices: {
enable_audio: boolean; enable_audio: boolean;
enable_video: boolean; enable_video: boolean;