packages/nucleus/src/modify-save.ts
Function modifySave
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const modifySave = async function <
T extends INimblebitJsonSave | DecompressedSave,
U extends keyof INimblebitJsonSave | (readonly [] | readonly (keyof INimblebitJsonSave)[]),
V extends U extends keyof INimblebitJsonSave
? INimblebitJsonSave[U]
Function modifySave
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
>(saveDataToModify: T, keys: U, values: V, forceLoadStructs: boolean = false, logger: ILogger = debug): Promise<T> {