fix: made type in config required

throws error if not present
This commit is contained in:
2026-04-24 23:55:15 +03:30
parent 6174a6c79b
commit 2e01011dc8
2 changed files with 4 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ export interface AdapterAPI {
}
export interface PlayerConfig {
type?: "native" | "hls" | "dash";
type: "native" | "hls" | "dash";
theme?: "dark" | "light";
accent?: string;
controls?: boolean | ControlConfig;