You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to type $props, a common requirement tends to be providing a type to children. To a complete svelte newbie, it might be helpful to let them know that it is a snippet. Would it be pertinent to have a note linking to the typing snippets section inside the documentation for $props for that? Somewhere around/below the type safety section?
Describe the problem
When trying to type
$props
, a common requirement tends to be providing a type tochildren
. To a complete svelte newbie, it might be helpful to let them know that it is a snippet. Would it be pertinent to have a note linking to the typing snippets section inside the documentation for$props
for that? Somewhere around/below the type safety section?Describe the proposed solution
Something along the lines of:
Importance
nice to have
The text was updated successfully, but these errors were encountered: