From 89ae8438fa1d90700a462b117aa9af42780c6268 Mon Sep 17 00:00:00 2001 From: YangJH Date: Wed, 27 Mar 2024 07:41:49 +0900 Subject: [PATCH] fix: fix getLicense function's type definition (#3606) * fix(type): fix getLicense type definition --- src/types/video.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/video.ts b/src/types/video.ts index 5f505118..010be36e 100644 --- a/src/types/video.ts +++ b/src/types/video.ts @@ -55,10 +55,10 @@ export type Drm = Readonly<{ base64Certificate?: boolean; // ios default: false /* eslint-disable @typescript-eslint/no-unused-vars */ getLicense?: ( + spcBase64: string, + contentId: string, licenseUrl: string, loadedLicenseUrl: string, - contentId: string, - spcBase64: string, ) => void; // ios /* eslint-enable @typescript-eslint/no-unused-vars */ }>;