Skip to content

Commit

Permalink
Add refkey to children
Browse files Browse the repository at this point in the history
  • Loading branch information
bterlson committed Aug 9, 2024
1 parent 79ba15b commit f9fc0d5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/core/src/jsx-runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
stop,
Ref,
} from "@vue/reactivity";
import { Refkey } from "./refkey.js";

if ((globalThis as any).ALLOY) {
throw "FIAL";
Expand Down Expand Up @@ -110,7 +111,9 @@ export type Child =
| null
| (() => Child | Children)
| Child[]
| Ref;
| Ref
| Refkey;

export type Children = Child | Child[];
export type Props = Record<string, unknown>;

Expand Down

0 comments on commit f9fc0d5

Please sign in to comment.