Function customRefTranslator
- customRefTranslator<TRANSLATOR>(refType: Skill | Milestone | Recipe | ItemType | Dismantle | Stat | Action | EquipSlot | Deity | Quality | Magic | Status | Damage, _translator: TRANSLATOR, color?: ((entry: string | number) => default)): TRANSLATOR extends Translator<infer ENTRY, [reference: Reference | undefined, ...(infer ARGS)]> ? Translator<ENTRY, ARGS> : never
-
Type Parameters
-
TRANSLATOR extends Translator<number, [Reference, ...any[]]>
Parameters
-
-
_translator: TRANSLATOR
-
Optional
color: ((entry: string | number) => default)
Returns TRANSLATOR extends Translator<infer ENTRY, [reference: Reference | undefined, ...(infer ARGS)]> ? Translator<ENTRY, ARGS> : never