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

index.ts

11 lines318 Bytes

1import devtools from './devtools.vue'
2import type { DefineComponent } from 'vue'
3import type { DevtoolsOptions } from './types'
4​
5export const VueQueryDevtools = (
6 process.env.NODE_ENV !== 'development'
7 ? function () {
8 return null
9 }
10 : devtools
11) as DefineComponent<DevtoolsOptions, {}, unknown>