• Registers a music track.

    Parameters

    • name: string

      The name of the music track.

    Returns (<K, T>(target: T, key: K) => void)

      • <K, T>(target: T, key: K): void
      • Type Parameters

        • K extends string | number | symbol

        • T extends Record<K, Music>

        Parameters

        • target: T
        • key: K

        Returns void

Generated using TypeDoc