mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-13 15:56:15 -08:00
update d.ts
This commit is contained in:
1 parent
0a6ef6214e
commit
c043498280
2 files changed
+6
-6
No files matched your search
Vendored
+3
-3
@@ -57,7 +57,7 @@ type ComponentOption = {
|
||||
/**
|
||||
* Component position, use in controls
|
||||
*/
|
||||
position?: 'top' | 'left' | 'right';
|
||||
position?: 'top' | 'left' | 'right' | (string & Record<never, never>);
|
||||
|
||||
/**
|
||||
* Custom selector list, use in controls
|
||||
@@ -186,7 +186,7 @@ type SubtitleOption = {
|
||||
/**
|
||||
* The subtitle type
|
||||
*/
|
||||
type?: 'vtt' | 'srt' | 'ass';
|
||||
type?: 'vtt' | 'srt' | 'ass' | (string & Record<never, never>);
|
||||
|
||||
/**
|
||||
* The subtitle style object
|
||||
@@ -238,7 +238,7 @@ type Option = {
|
||||
/**
|
||||
* Player language
|
||||
*/
|
||||
lang?: 'en' | 'zh-cn' | 'zh-tw' | 'cs' | 'pl';
|
||||
lang?: 'en' | 'zh-cn' | 'zh-tw' | 'cs' | 'pl' | 'es' | (string & Record<never, never>);
|
||||
|
||||
/**
|
||||
* Player default volume
|
||||
|
||||
+3
-3
@@ -57,7 +57,7 @@ type ComponentOption = {
|
||||
/**
|
||||
* Component position, use in controls
|
||||
*/
|
||||
position?: 'top' | 'left' | 'right';
|
||||
position?: 'top' | 'left' | 'right' | (string & Record<never, never>);
|
||||
|
||||
/**
|
||||
* Custom selector list, use in controls
|
||||
@@ -186,7 +186,7 @@ type SubtitleOption = {
|
||||
/**
|
||||
* The subtitle type
|
||||
*/
|
||||
type?: 'vtt' | 'srt' | 'ass';
|
||||
type?: 'vtt' | 'srt' | 'ass' | (string & Record<never, never>);
|
||||
|
||||
/**
|
||||
* The subtitle style object
|
||||
@@ -238,7 +238,7 @@ type Option = {
|
||||
/**
|
||||
* Player language
|
||||
*/
|
||||
lang?: 'en' | 'zh-cn' | 'zh-tw' | 'cs' | 'pl';
|
||||
lang?: 'en' | 'zh-cn' | 'zh-tw' | 'cs' | 'pl' | 'es' | (string & Record<never, never>);
|
||||
|
||||
/**
|
||||
* Player default volume
|
||||
|
||||
Reference in new issue
Block a user