mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-10 04:36:15 -08:00
Update player.d.ts
This commit is contained in:
1 parent
81edd00afc
commit
51bee25800
1 file changed
+1
-1
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
import { CssVar } from './cssVar';
|
||||
|
||||
export type AspectRatio = 'default' | '4:3' | '16:9' | (string & Record<never, never>);
|
||||
export type AspectRatio = 'default' | '4:3' | '16:9' | (`${number}:${number}` & Record<never, never>);
|
||||
export type PlaybackRate = 0.5 | 0.75 | 1.0 | 1.25 | 1.5 | 1.75 | 2.0 | (number & Record<never, never>);
|
||||
export type Flip = 'normal' | 'horizontal' | 'vertical' | (string & Record<never, never>);
|
||||
export type State = 'standard' | 'mini' | 'pip' | 'fullscreen' | 'fullscreenWeb';
|
||||
|
||||
Reference in new issue
Block a user