Skip to content

Commit 64b0510

Browse files
ci: apply automated fixes
1 parent c64a5ea commit 64b0510

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

packages/query-core/src/utils.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,11 @@ type NonFunction =
132132
| undefined
133133
| object
134134

135-
export function resolveOption<
136-
T extends NonFunction,
137-
TArgs extends Array<any>
138-
>(
135+
export function resolveOption<T extends NonFunction, TArgs extends Array<any>>(
139136
value: T | ((...args: TArgs) => T),
140137
...args: TArgs
141138
): T {
142-
return typeof value === 'function' ? value(...args) : value
139+
return typeof value === 'function' ? value(...args) : value
143140
}
144141

145142
export function functionalUpdate<TInput, TOutput extends NonFunction>(

0 commit comments

Comments
 (0)