Skip to content

Commit df4f97c

Browse files
committed
fix
1 parent 15e0903 commit df4f97c

4 files changed

Lines changed: 10 additions & 5 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,5 @@ vite.config.ts.timestamp-*
5858
.angular
5959
.nitro
6060
.sonda
61-
*settings.local.json
61+
*settings.local.json
62+
.claude/worktrees
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "configPath": "..\\..\\dist\\server\\wrangler.json", "auxiliaryWorkers": [] }
1+
{"configPath":"..\\..\\dist\\server\\wrangler.json","auxiliaryWorkers":[]}

packages/devtools-utils/src/solid/class-mount-impl.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
/** @jsxImportSource solid-js - we use Solid.js as JSX here */
22

3-
import type { TanStackDevtoolsPluginProps } from '@tanstack/devtools'
43
import { lazy } from 'solid-js'
54
import { Portal, render } from 'solid-js/web'
65
import type { JSX } from 'solid-js'
6+
import type { TanStackDevtoolsPluginProps } from '@tanstack/devtools'
77

88
export function __mountComponent(
99
el: HTMLElement,
1010
props: TanStackDevtoolsPluginProps,
11-
importFn: () => Promise<{ default: () => JSX.Element }>,
11+
importFn: () => Promise<{
12+
default: (props: TanStackDevtoolsPluginProps) => JSX.Element
13+
}>,
1214
): () => void {
1315
const Component = lazy(importFn)
1416
const ThemeProvider = lazy(() =>

packages/devtools-utils/src/solid/class.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ import type { JSX } from 'solid-js'
1111
* @returns Tuple containing the DevtoolsCore class and a NoOpDevtoolsCore class
1212
*/
1313
export function constructCoreClass(
14-
importFn: () => Promise<{ default: () => JSX.Element }>,
14+
importFn: () => Promise<{
15+
default: (props: TanStackDevtoolsPluginProps) => JSX.Element
16+
}>,
1517
) {
1618
class DevtoolsCore {
1719
#isMounted = false

0 commit comments

Comments
 (0)