Skip to content

Commit

Permalink
fix(ts): make multiDrm prop optional type (#3999)
Browse files Browse the repository at this point in the history
  • Loading branch information
YangJonghun authored Jul 15, 2024
1 parent 0a55ace commit 79c3076
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 @@ -58,7 +58,7 @@ type Drm = Readonly<{
certificateUrl?: string; // ios
base64Certificate?: boolean; // ios default: false
useExternalGetLicense?: boolean; // ios
multiDrm?: boolean; // android
multiDrm?: WithDefault<boolean, false>; // android
}>;

type TextTracks = ReadonlyArray<
Expand Down
2 changes: 1 addition & 1 deletion src/types/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export type Drm = Readonly<{
contentId?: string; // ios
certificateUrl?: string; // ios
base64Certificate?: boolean; // ios default: false
multiDrm: boolean; // android
multiDrm?: boolean; // android
/* eslint-disable @typescript-eslint/no-unused-vars */
getLicense?: (
spcBase64: string,
Expand Down

0 comments on commit 79c3076

Please sign in to comment.