mirror of
https://github.com/zoriya/react-native-omni.git
synced 2026-08-16 02:44:51 +00:00
fix(provider): make source optional
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user