Open History to see the last commit
1import { makeEnvironmentProviders } from '@angular/core'
2import { queryFeature } from '@tanstack/angular-query/internal'
3import type { DevtoolsOptions, WithDevtools, WithDevtoolsFn } from './types'
4β
5// Stub which replaces `withDevtools` in production builds
6export const withDevtools: WithDevtools = () =>
7 queryFeature(makeEnvironmentProviders([]))
8β
9export type { DevtoolsOptions, WithDevtools, WithDevtoolsFn }