Skip to content

Commit 2ccb1ab

Browse files
committed
fix: Render types
1 parent a951dc9 commit 2ccb1ab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libs/components/src/render/render.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import {
33
type Component,
44
component$,
55
type JSXOutput,
6-
type QwikIntrinsicElements,
76
type Signal,
8-
Slot
7+
Slot,
8+
type PropsOf
99
} from "@qwik.dev/core";
1010

1111
// keyof slows the type server a bunch, instead we use the most common fallbacks
@@ -29,8 +29,8 @@ type RenderInternalProps<T extends AllowedFallbacks> = {
2929

3030
jsxType?: unknown;
3131
movedProps?: Record<string, unknown>;
32-
} & QwikIntrinsicElements[T] &
33-
Record<`${string}$`, unknown>;
32+
} & PropsOf<T> &
33+
Record<string, unknown>;
3434

3535
/**
3636
* Creates an object that overrides bind:* props with undefined to prevent them from rendering in the DOM.

0 commit comments

Comments
 (0)