- quest(name: string, description: Quest): (<K, T>(target: T, key: K) => void)
-
Parameters
-
name: string
-
description: Quest
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, QuestType>
Returns void
Registers a quest.