Skip to content

Commit

Permalink
fix: random lazy type in jsx.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenybai committed Sep 11, 2021
1 parent 21e3483 commit 1b67399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jsx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const normalizeChildren = (children: JSXVNode[], normalizedChildren: VNode[]) =>
return normalizedChildren;
};

const jsx = (tag: string | FC, props?: VProps, ...children: JSXVNode[]): VNode | (() => VNode) => {
const jsx = (tag: string | FC, props?: VProps, ...children: JSXVNode[]): VNode => {
let delta: VDelta | undefined;
if (props) {
const rawDelta = <VDelta>(<unknown>props.delta);
Expand Down

0 comments on commit 1b67399

Please sign in to comment.