Skip to content

Commit

Permalink
chore: fix optionnal props
Browse files Browse the repository at this point in the history
  • Loading branch information
freeboub committed Oct 5, 2024
1 parent 4bea0af commit 76ea6dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/specs/VideoNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export type VideoSrc = Readonly<{
cmcd?: NativeCmcdConfiguration; // android
textTracksAllowChunklessPreparation?: boolean; // android
textTracks?: TextTracks;
ad: AdsConfig;
ad?: AdsConfig;
}>;

type DRMType = WithDefault<string, 'widevine'>;
Expand Down
2 changes: 1 addition & 1 deletion src/types/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export type ReactVideoSourceProperties = {
cmcd?: Cmcd; // android
textTracksAllowChunklessPreparation?: boolean;
textTracks?: TextTracks;
ad: AdConfig;
ad?: AdConfig;
};

export type ReactVideoSource = Readonly<
Expand Down

0 comments on commit 76ea6dd

Please sign in to comment.