- biome<BiomeOptionsType>(name: string, description: IBiomeDescription<BiomeOptionsType>): (<K, T>(target: T, key: K) => void)
-
Type Parameters
-
BiomeOptionsType = unknown
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>
Returns void
Registers a biome.