We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fda425 commit 6a39559Copy full SHA for 6a39559
packages/svelte/src/internal/client/reactivity/props.js
@@ -45,7 +45,7 @@ const rest_props_handler = {
45
},
46
set(target, key) {
47
if (DEV) {
48
- throw new Error(`${target.name}.${String(key)} is readonly`);
+ throw new Error(`Rest element properties of $props() such as ${target.name}.${String(key)} are readonly`);
49
}
50
51
return false;
0 commit comments