Update player.d.ts

This commit is contained in:
Harvey Zack committed 2023-04-21 16:49:37 +08:00
1 parent 81edd00afc
commit 51bee25800
1 file changed
+1 -1
+1 -1
View File
@@ -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';