mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 21:04:37 +03:00
Fix type issues (#4176)
This commit is contained in:
@@ -175,9 +175,9 @@ export function getAggregateInputIDs(
|
||||
return undefined;
|
||||
}
|
||||
|
||||
export function getAggregateState<T>(
|
||||
export function getAggregateState<T, U>(
|
||||
currentValue: T,
|
||||
newValue: T,
|
||||
newValue: U,
|
||||
first: boolean
|
||||
) {
|
||||
if (!first && !isEqual(currentValue, newValue)) {
|
||||
@@ -207,8 +207,7 @@ export function getAggregateStateObject<O, I>(
|
||||
const inputKey = key as keyof I;
|
||||
|
||||
const currentValue = getProperty(output, outputKey);
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const performerValue = getProperty(input, inputKey) as any;
|
||||
const performerValue = getProperty(input, inputKey);
|
||||
|
||||
setProperty(
|
||||
output,
|
||||
|
||||
Reference in New Issue
Block a user