- statusEffect(name: string, handlerClass: StatusEffectClass): (<K, T>(target: T, key: K) => void)
-
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, StatusType>
Returns void
Registers a status effect.