Skip to content

Commit 5471700

Browse files
authored
Apply suggestions from code review
1 parent d1906a5 commit 5471700

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.changeset/wise-grapes-enjoy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'svelte': minor
33
---
44

5-
feat: Add `uidPrefix` option in `render` function
5+
feat: Add `uidPrefix` option in `render`/`mount`/`hydrate` functions

packages/svelte/src/internal/client/types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export type EventCallbackMap = Record<string, EventCallback | EventCallback[]>;
1010
// when the JS VM JITs the code.
1111

1212
export type ComponentContext = {
13-
/** uid */
13+
/** used as prefix for $props.id */
1414
uid?: string;
1515
/** parent */
1616
p: null | ComponentContext;

0 commit comments

Comments
 (0)