Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

stub.ts

8 lines282 Bytes

1import type { WithDevtools } from './types'
2import { makeEnvironmentProviders } from '@angular/core'
3​
4// Stub which replaces `withDevtools` in production builds
5export const withDevtools: WithDevtools = () => ({
6 ɵkind: 'Devtools',
7 ɵproviders: makeEnvironmentProviders([]),
8})