This commit is contained in:
parent
9f13c2f66a
commit
6434809c5c
@ -29,6 +29,7 @@ export function sortPlayerHistory(history: Map<string, PlayerHistory>) {
|
|||||||
*/
|
*/
|
||||||
export function getValueFromHistory(history: PlayerHistory, field: string): number | null {
|
export function getValueFromHistory(history: PlayerHistory, field: string): number | null {
|
||||||
const keys = field.split(".");
|
const keys = field.split(".");
|
||||||
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||||
let value: any = history;
|
let value: any = history;
|
||||||
|
|
||||||
// Navigate through the keys safely
|
// Navigate through the keys safely
|
||||||
|
Reference in New Issue
Block a user