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

index.ts

10 lines285 Bytes

1import { DEV } from 'esm-env'
2import Devtools from './SvelteQueryDevtools.svelte'
3import type { Component, ComponentProps } from 'svelte'
4​
5export const SvelteQueryDevtools: Component<ComponentProps<typeof Devtools>> =
6 DEV
7 ? Devtools
8 : function () {
9 return {}
10 }