mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat: small state and naming fixes (#719)
This commit is contained in:
@@ -60,7 +60,7 @@ const store: Store<HTMLMediaElement, VolumeState> = createStore<HTMLMediaElement
|
||||
import type { InferSliceState } from '@videojs/store';
|
||||
|
||||
type VolumeState = InferSliceState<typeof volumeSlice>;
|
||||
// { volume: number; muted: boolean; setVolume: ...; toggleMute: ... }
|
||||
// { volume: number; muted: boolean; setVolume: ...; toggleMuted: ... }
|
||||
```
|
||||
|
||||
### Show Type Imports
|
||||
|
||||
Reference in New Issue
Block a user