Skip to content

Commit

Permalink
chore: resolve type error
Browse files Browse the repository at this point in the history
  • Loading branch information
manudeli committed Nov 15, 2024
1 parent 92b4171 commit 4c40c12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/query-core/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ export type QueryTypeFilter = 'all' | 'active' | 'inactive'

export const isServer = typeof window === 'undefined' || 'Deno' in globalThis

export function noop(): undefined {}
export function noop(): undefined {
return undefined
}

export function functionalUpdate<TInput, TOutput>(
updater: Updater<TInput, TOutput>,
Expand Down

0 comments on commit 4c40c12

Please sign in to comment.