furkleindustries/sound-manager

View on GitHub
src/Sound/createHtmlAudioSound.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function createHtmlAudioSound has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const createHtmlAudioSound = (
  options: ICreateSoundOptions,
  preloadDirective: keyof GlobalEventHandlersEventMap = 'canplay',
): Promise<ISound> => {
  const {
Severity: Minor
Found in src/Sound/createHtmlAudioSound.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status