File tree 2 files changed +4
-2
lines changed
src/internal/client/reactivity 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,9 @@ const rest_props_handler = {
45
45
} ,
46
46
set ( target , key ) {
47
47
if ( DEV ) {
48
- throw new Error ( `Rest element properties of $props() such as ${ target . name } .${ String ( key ) } are readonly` ) ;
48
+ throw new Error (
49
+ `Rest element properties of $props() such as ${ target . name } .${ String ( key ) } are readonly`
50
+ ) ;
49
51
}
50
52
51
53
return false ;
Original file line number Diff line number Diff line change @@ -708,7 +708,7 @@ declare module 'svelte/compiler' {
708
708
node : Identifier ;
709
709
/**
710
710
* - `normal`: A variable that is not in any way special
711
- * - `prop`: A normal prop (possibly reassigned)
711
+ * - `prop`: A normal prop (possibly reassigned or mutated )
712
712
* - `bindable_prop`: A prop one can `bind:` to (possibly reassigned or mutated)
713
713
* - `rest_prop`: A rest prop
714
714
* - `state`: A state variable
You can’t perform that action at this time.
0 commit comments