src/Sound/createHtmlAudioSound.ts
Function createHtmlAudioSound
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const createHtmlAudioSound = (
options: ICreateSoundOptions,
preloadDirective: keyof GlobalEventHandlersEventMap = 'canplay',
): Promise<ISound> => {
const {