Skip to content

Commit

Permalink
Merge 0f1da68 into 0937a17
Browse files Browse the repository at this point in the history
  • Loading branch information
lxsmnsyc committed Oct 4, 2023
2 parents 0937a17 + 0f1da68 commit 5e7eb7e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/strong-years-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"solid-js": patch
---

fix: missing `has` property in `SharedConfig`
3 changes: 2 additions & 1 deletion packages/solid/src/render/hydration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export type HydrationContext = { id: string; count: number };
type SharedConfig = {
context?: HydrationContext;
resources?: { [key: string]: any };
load?: (id: string) => Promise<any> | any | undefined;
load?: (id: string) => Promise<any> | any;
has?: (id: string) => boolean;
gather?: (key: string) => void;
registry?: Map<string, Element>;
done?: boolean;
Expand Down

0 comments on commit 5e7eb7e

Please sign in to comment.