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
Copy file name to clipboardExpand all lines: packages/svelte/tests/runtime-runes/samples/export-binding/_config.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,6 @@ export default test({
5
5
dev: true// to ensure we we catch the error
6
6
},
7
7
error:
8
-
'Cannot use bind:increment on this component because it is a component export, and you can only bind to properties in runes mode. '+
9
-
'Use bind:this instead and then access the property on the bound component instance.'
8
+
'Component .../samples/export-binding/Counter.svelte has an export named increment that a consumer component is trying to access using bind:increment, which is disallowed. '+
9
+
'Instead, use bind:this (e.g. <Counter bind:this={component} />) and then access the property on the bound component instance (e.g. component.increment).'
0 commit comments