diff --git a/packages/query-core/src/utils.ts b/packages/query-core/src/utils.ts index 91af0759c1..cab850308c 100644 --- a/packages/query-core/src/utils.ts +++ b/packages/query-core/src/utils.ts @@ -62,7 +62,7 @@ export type QueryTypeFilter = 'all' | 'active' | 'inactive' // UTILS -export const isServer = typeof window === 'undefined' || 'Deno' in window +export const isServer = typeof window === 'undefined' || 'Deno' in globalThis export function noop(): undefined { return undefined