Skip to content

Commit

Permalink
export ComposableOptions (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
cheersmas authored Dec 28, 2024
1 parent be3cad5 commit bb4cc7c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import type { Howl } from 'howler'
import { onMounted, ref, unref, watch } from 'vue-demi'
import type { ComposableOptions, HowlStatic, MaybeRef, PlayFunction, PlayOptions, ReturnedValue } from './types'

export type {
ComposableOptions
}

export function useSound(
url: MaybeRef<string>,
{ volume = 1, playbackRate = 1, soundEnabled = true, interrupt = false, autoplay = false, onload, ...delegated }: ComposableOptions = {},
Expand Down

0 comments on commit bb4cc7c

Please sign in to comment.