fix: made type in config required
throws error if not present
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user