Update option.d.ts

This commit is contained in:
Harvey committed 2022-10-10 10:19:38 +08:00
1 parent 572c9db7f7
commit 55587c32c7
1 file changed
+3 -1
+3 -1
View File
@@ -286,7 +286,9 @@ export type Option = {
/**
* Other video attribute
*/
moreVideoAttr?: Partial<HTMLVideoElement>;
moreVideoAttr?: Partial<{
[key in keyof HTMLVideoElement as HTMLVideoElement[key] extends Function ? never : key]: HTMLVideoElement[key];
}>;
/**
* Custom default icons