Skip to content

Commit

Permalink
Merge pull request #7063 from QwikDev/v2-fix-component-type
Browse files Browse the repository at this point in the history
fix(v2): fix component type
  • Loading branch information
wmertens authored Nov 15, 2024
2 parents d533e19 + a2eb7ec commit 0309a11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/qwik/src/core/shared/component.public.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { dollar, type QRL } from './qrl/qrl.public';
import type { JSXNode, JSXOutput } from './jsx/types/jsx-node';
import type { JSXNodeInternal, JSXOutput } from './jsx/types/jsx-node';
import type {
ComponentBaseProps,
EventHandler,
Expand Down Expand Up @@ -133,7 +133,7 @@ export const componentQrl = <PROPS extends Record<any, any>>(
props: PublicProps<PROPS>,
key: string | null,
flags: number = 0
): JSXNode {
): JSXNodeInternal {
assertQrl(componentQrl);
assertNumber(flags, 'The Qwik Component was not invoked correctly');
const hash = qTest ? 'sX' : componentQrl.$hash$.slice(0, 4);
Expand Down

0 comments on commit 0309a11

Please sign in to comment.