fix(provider): make source optional

This commit is contained in:
2026-07-21 19:50:30 +02:00
parent a335509b4e
commit 6eb02d32cb
17 changed files with 57 additions and 36 deletions
+2 -2
View File
@@ -57,9 +57,9 @@ export interface OmniPlayer
OmniPlayerT {
readonly eventMap: OmniEventMap;
setSource(src: Source): void;
setSource(src?: Source): void;
}
export interface OmniPlayerFactory extends HybridObject<{ android: "kotlin" }> {
createPlayer(props: Source): OmniPlayer;
createPlayer(props?: Source): OmniPlayer;
}