@tanstack/query-devtools 5.100.8 → 5.100.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -263,7 +263,7 @@ declare class TanstackQueryDevtoolsPanel {
263
263
  setInitialIsOpen(isOpen: boolean): void;
264
264
  setErrorTypes(errorTypes: Array<DevtoolsErrorType>): void;
265
265
  setClient(client: QueryClient): void;
266
- setOnClose(onClose: () => unknown): void;
266
+ setOnClose(onClose: () => void): void;
267
267
  setTheme(theme?: Theme): void;
268
268
  mount<T extends HTMLElement>(el: T): void;
269
269
  unmount(): void;
@@ -263,7 +263,7 @@ declare class TanstackQueryDevtoolsPanel {
263
263
  setInitialIsOpen(isOpen: boolean): void;
264
264
  setErrorTypes(errorTypes: Array<DevtoolsErrorType>): void;
265
265
  setClient(client: QueryClient): void;
266
- setOnClose(onClose: () => unknown): void;
266
+ setOnClose(onClose: () => void): void;
267
267
  setTheme(theme?: Theme): void;
268
268
  mount<T extends HTMLElement>(el: T): void;
269
269
  unmount(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/query-devtools",
3
- "version": "5.100.8",
3
+ "version": "5.100.9",
4
4
  "description": "Developer tools to interact with and visualize the TanStack Query cache",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -57,7 +57,7 @@
57
57
  "superjson": "^2.2.2",
58
58
  "tsup-preset-solid": "^2.2.0",
59
59
  "vite-plugin-solid": "^2.11.6",
60
- "@tanstack/query-core": "5.100.8"
60
+ "@tanstack/query-core": "5.100.9"
61
61
  },
62
62
  "scripts": {
63
63
  "clean": "premove ./build ./coverage ./dist-ts",
@@ -34,7 +34,7 @@ class TanstackQueryDevtoolsPanel {
34
34
  #initialIsOpen: Signal<boolean | undefined>
35
35
  #errorTypes: Signal<Array<DevtoolsErrorType> | undefined>
36
36
  #hideDisabledQueries: Signal<boolean | undefined>
37
- #onClose: Signal<(() => unknown) | undefined>
37
+ #onClose: Signal<(() => void) | undefined>
38
38
  #Component: DevtoolsComponentType | undefined
39
39
  #theme: Signal<Theme | undefined>
40
40
  #dispose?: () => void
@@ -90,7 +90,7 @@ class TanstackQueryDevtoolsPanel {
90
90
  this.#client[1](client)
91
91
  }
92
92
 
93
- setOnClose(onClose: () => unknown) {
93
+ setOnClose(onClose: () => void) {
94
94
  this.#onClose[1](() => onClose)
95
95
  }
96
96