mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-14 03:19:28 +02:00
Fix merge issue
This commit is contained in:
parent
15d3863842
commit
76606ae33a
@ -1,5 +1,6 @@
|
||||
import { getStatKey, type Stat } from "#enums/stat";
|
||||
import type { EnumOrObject, EnumValues, NormalEnum, TSNumericEnum } from "#types/enum-types";
|
||||
import type { EnumOrObject, NormalEnum, TSNumericEnum } from "#types/enum-types";
|
||||
import type { ObjectValues } from "#types/type-helpers";
|
||||
import { enumValueToKey } from "#utils/enums";
|
||||
import { toTitleCase } from "#utils/strings";
|
||||
import type { MatcherState } from "@vitest/expect";
|
||||
@ -44,7 +45,7 @@ interface getEnumStrOptions {
|
||||
*/
|
||||
export function getEnumStr<E extends EnumOrObject>(
|
||||
obj: E,
|
||||
val: EnumValues<E>,
|
||||
val: ObjectValues<E>,
|
||||
{ casing = "Preserve", prefix = "", suffix = "" }: getEnumStrOptions = {},
|
||||
): string {
|
||||
let casingFunc: ((s: string) => string) | undefined;
|
||||
|
Loading…
Reference in New Issue
Block a user