• Registers a biome.

    Type Parameters

    • BiomeOptionsType = unknown

    Parameters

    • name: string

      The name of the biome.

    • description: IBiomeDescription<BiomeOptionsType>

      The definition of the biome.

      The decorated property will be injected with the id of the registered biome.

    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, BiomeType>

        Parameters

        • target: T
        • key: K

        Returns void

Generated using TypeDoc