Skip to content

Commit

Permalink
chore(useMediaControls): remove useless option (vitest-dev#682)
Browse files Browse the repository at this point in the history
Co-authored-by: webfansplz <>
  • Loading branch information
webfansplz committed Aug 20, 2021
1 parent 65a2915 commit c403545
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/core/useMediaControls/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ export declare function useMediaControls(
): {
currentTime: Ref<number>
duration: Ref<number>
buffering: Ref<boolean>
waiting: Ref<boolean>
seeking: Ref<boolean>
ended: Ref<boolean>
Expand Down
2 changes: 0 additions & 2 deletions packages/core/useMediaControls/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ export function useMediaControls(target: MaybeRef<HTMLMediaElement | null | unde
const currentTime = ref(0)
const duration = ref(0)
const seeking = ref(false)
const buffering = ref(false)
const volume = ref(1)
const waiting = ref(false)
const ended = ref(false)
Expand Down Expand Up @@ -421,7 +420,6 @@ export function useMediaControls(target: MaybeRef<HTMLMediaElement | null | unde
return {
currentTime,
duration,
buffering,
waiting,
seeking,
ended,
Expand Down

0 comments on commit c403545

Please sign in to comment.