Skip to content

Commit 3af530d

Browse files
fix(solid-query-devtools): fix typing issue (#9621)
* fix: fix issue with solid devtools * fix: add correct jsx typing from solid * ci: apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent bc2c87f commit 3af530d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/solid-query-devtools/src/devtoolsPanel.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { onlineManager, useQueryClient } from '@tanstack/solid-query'
33
import { TanstackQueryDevtoolsPanel } from '@tanstack/query-devtools'
44
import type { DevtoolsErrorType } from '@tanstack/query-devtools'
55
import type { QueryClient } from '@tanstack/solid-query'
6+
import type { JSX } from 'solid-js'
67

78
export interface DevtoolsPanelOptions {
89
/**
@@ -28,7 +29,7 @@ export interface DevtoolsPanelOptions {
2829
* @example { height: '100%' }
2930
* @example { height: '100%', width: '100%' }
3031
*/
31-
style?: CSSStyleValue
32+
style?: JSX.CSSProperties
3233

3334
/**
3435
* Callback function that is called when the devtools panel is closed

0 commit comments

Comments
 (0)