- 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, Challenge>
Returns void
Registers a quest.