Function questRequirement
- questRequirement(name: string, description: QuestRequirement<any, any>): (<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
-
Returns void
Registers a quest requirement.